丽知:删除多余打印代码
This commit is contained in:
parent
4362528c5c
commit
ee5d86e78d
|
@ -152,7 +152,6 @@ public class AdjustInPluginInitializer extends PluginBaseEntity {
|
||||||
queryOfsStockinOrderRequestVO.setClosedAt_start(startTimeStr);
|
queryOfsStockinOrderRequestVO.setClosedAt_start(startTimeStr);
|
||||||
queryOfsStockinOrderRequestVO.setClosedAt_end(endTimeStr);
|
queryOfsStockinOrderRequestVO.setClosedAt_end(endTimeStr);
|
||||||
List<StockinOrderSearchResponse.StockinOrder> stockinOrders = queryOfsStockinOrder(queryOfsStockinOrderRequestVO);
|
List<StockinOrderSearchResponse.StockinOrder> stockinOrders = queryOfsStockinOrder(queryOfsStockinOrderRequestVO);
|
||||||
System.out.println(stockinOrders);
|
|
||||||
|
|
||||||
if (stockinOrders==null||stockinOrders.size() == 0) {
|
if (stockinOrders==null||stockinOrders.size() == 0) {
|
||||||
return;
|
return;
|
||||||
|
@ -181,7 +180,6 @@ public class AdjustInPluginInitializer extends PluginBaseEntity {
|
||||||
QueryOfsStockinOrderRequestVO queryOfsStockinOrderRequestVO = new QueryOfsStockinOrderRequestVO();
|
QueryOfsStockinOrderRequestVO queryOfsStockinOrderRequestVO = new QueryOfsStockinOrderRequestVO();
|
||||||
queryOfsStockinOrderRequestVO.setCode(stockinNo);
|
queryOfsStockinOrderRequestVO.setCode(stockinNo);
|
||||||
List<StockinOrderSearchResponse.StockinOrder> stockinOrders = queryOfsStockinOrder(queryOfsStockinOrderRequestVO);
|
List<StockinOrderSearchResponse.StockinOrder> stockinOrders = queryOfsStockinOrder(queryOfsStockinOrderRequestVO);
|
||||||
System.out.println(stockinOrders);
|
|
||||||
|
|
||||||
if (stockinOrders.size() == 0) {
|
if (stockinOrders.size() == 0) {
|
||||||
Assert.state(false, "丽知:OFS调整入库--->U8C其它入库根据单据号[入库完成]:{},未查询到调整出库单", stockinNo);
|
Assert.state(false, "丽知:OFS调整入库--->U8C其它入库根据单据号[入库完成]:{},未查询到调整出库单", stockinNo);
|
||||||
|
@ -215,7 +213,6 @@ public class AdjustInPluginInitializer extends PluginBaseEntity {
|
||||||
queryOfsStockinOrderRequestVO.setClosedAt_start(start);
|
queryOfsStockinOrderRequestVO.setClosedAt_start(start);
|
||||||
queryOfsStockinOrderRequestVO.setClosedAt_end(end);
|
queryOfsStockinOrderRequestVO.setClosedAt_end(end);
|
||||||
List<StockinOrderSearchResponse.StockinOrder> stockinOrders = queryOfsStockinOrder(queryOfsStockinOrderRequestVO);
|
List<StockinOrderSearchResponse.StockinOrder> stockinOrders = queryOfsStockinOrder(queryOfsStockinOrderRequestVO);
|
||||||
System.out.println(stockinOrders);
|
|
||||||
|
|
||||||
if (stockinOrders.size() == 0) {
|
if (stockinOrders.size() == 0) {
|
||||||
Assert.state(false, "丽知:OFS调整入库--->U8C其它入库根据日期期间[开始时间]-[结束时间]:{}-{},未查询到调整入库单[入库完成]", startTime, endTime);
|
Assert.state(false, "丽知:OFS调整入库--->U8C其它入库根据日期期间[开始时间]-[结束时间]:{}-{},未查询到调整入库单[入库完成]", startTime, endTime);
|
||||||
|
@ -327,7 +324,6 @@ public class AdjustInPluginInitializer extends PluginBaseEntity {
|
||||||
//子表
|
//子表
|
||||||
List<GeneralBillVO_4ADto.Childrenvo> childrenvo = new ArrayList<>();
|
List<GeneralBillVO_4ADto.Childrenvo> childrenvo = new ArrayList<>();
|
||||||
for (StockinOrderSearchResponse.StockinOrder.StockinB ofsDetail : stockinOrder.getDetails()) {
|
for (StockinOrderSearchResponse.StockinOrder.StockinB ofsDetail : stockinOrder.getDetails()) {
|
||||||
System.out.println(ofsDetail);
|
|
||||||
GeneralBillVO_4ADto.Childrenvo children = new GeneralBillVO_4ADto.Childrenvo();
|
GeneralBillVO_4ADto.Childrenvo children = new GeneralBillVO_4ADto.Childrenvo();
|
||||||
|
|
||||||
//dbizdate业务日期
|
//dbizdate业务日期
|
||||||
|
@ -359,7 +355,6 @@ public class AdjustInPluginInitializer extends PluginBaseEntity {
|
||||||
Assert.state(false, "丽知:OFS调整入库--->U8C其它入库.中台转发失败,失败原因:{}", ztResult.getAttribute());
|
Assert.state(false, "丽知:OFS调整入库--->U8C其它入库.中台转发失败,失败原因:{}", ztResult.getAttribute());
|
||||||
}
|
}
|
||||||
Attribute attribute = ztResult.getAttribute();
|
Attribute attribute = ztResult.getAttribute();
|
||||||
System.out.println(attribute);
|
|
||||||
|
|
||||||
boolean isSuccess = false;
|
boolean isSuccess = false;
|
||||||
String vbillcode = "";
|
String vbillcode = "";
|
||||||
|
@ -368,7 +363,6 @@ public class AdjustInPluginInitializer extends PluginBaseEntity {
|
||||||
isSuccess = true;
|
isSuccess = true;
|
||||||
String data = attribute.getData();
|
String data = attribute.getData();
|
||||||
GeneralBillVO_4ADto resGeneralBillVO = resultDataHandle(data);
|
GeneralBillVO_4ADto resGeneralBillVO = resultDataHandle(data);
|
||||||
System.out.println(resGeneralBillVO);
|
|
||||||
vbillcode = resGeneralBillVO.getParentvo().getVbillcode();
|
vbillcode = resGeneralBillVO.getParentvo().getVbillcode();
|
||||||
vbillId = resGeneralBillVO.getParentvo().getCgeneralhid();
|
vbillId = resGeneralBillVO.getParentvo().getCgeneralhid();
|
||||||
}
|
}
|
||||||
|
@ -485,7 +479,6 @@ public class AdjustInPluginInitializer extends PluginBaseEntity {
|
||||||
interfaceParamDto.setApi("ofs.adjustOrder.search");
|
interfaceParamDto.setApi("ofs.adjustOrder.search");
|
||||||
interfaceParamDto.setData(JSON.toJSONString(queryOfsAdjustOrderRequestVO));
|
interfaceParamDto.setData(JSON.toJSONString(queryOfsAdjustOrderRequestVO));
|
||||||
OFSAdjustOrderSearchResponse ofsAdjustOrderSearchResponse = (OFSAdjustOrderSearchResponse) ofsUnifiedService.unified(interfaceParamDto);
|
OFSAdjustOrderSearchResponse ofsAdjustOrderSearchResponse = (OFSAdjustOrderSearchResponse) ofsUnifiedService.unified(interfaceParamDto);
|
||||||
System.out.println(ofsAdjustOrderSearchResponse);
|
|
||||||
List<OFSAdjustOrderSearchResponse.OFSAdjustOrder> data = ofsAdjustOrderSearchResponse.getData();
|
List<OFSAdjustOrderSearchResponse.OFSAdjustOrder> data = ofsAdjustOrderSearchResponse.getData();
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
|
@ -155,7 +155,6 @@ public class AdjustInZZPluginInitializer extends PluginBaseEntity {
|
||||||
queryOfsStockinOrderRequestVO.setClosedAt_start(startTimeStr);
|
queryOfsStockinOrderRequestVO.setClosedAt_start(startTimeStr);
|
||||||
queryOfsStockinOrderRequestVO.setClosedAt_end(endTimeStr);
|
queryOfsStockinOrderRequestVO.setClosedAt_end(endTimeStr);
|
||||||
List<StockinOrderSearchResponse.StockinOrder> stockinOrders = queryOfsStockinOrder(queryOfsStockinOrderRequestVO);
|
List<StockinOrderSearchResponse.StockinOrder> stockinOrders = queryOfsStockinOrder(queryOfsStockinOrderRequestVO);
|
||||||
System.out.println(stockinOrders);
|
|
||||||
|
|
||||||
if (stockinOrders==null||stockinOrders.size() == 0) {
|
if (stockinOrders==null||stockinOrders.size() == 0) {
|
||||||
return;
|
return;
|
||||||
|
@ -184,7 +183,6 @@ public class AdjustInZZPluginInitializer extends PluginBaseEntity {
|
||||||
QueryOfsStockinOrderRequestVO queryOfsStockinOrderRequestVO = new QueryOfsStockinOrderRequestVO();
|
QueryOfsStockinOrderRequestVO queryOfsStockinOrderRequestVO = new QueryOfsStockinOrderRequestVO();
|
||||||
queryOfsStockinOrderRequestVO.setCode(stockinNo);
|
queryOfsStockinOrderRequestVO.setCode(stockinNo);
|
||||||
List<StockinOrderSearchResponse.StockinOrder> stockinOrders = queryOfsStockinOrder(queryOfsStockinOrderRequestVO);
|
List<StockinOrderSearchResponse.StockinOrder> stockinOrders = queryOfsStockinOrder(queryOfsStockinOrderRequestVO);
|
||||||
System.out.println(stockinOrders);
|
|
||||||
|
|
||||||
if (stockinOrders.size() == 0) {
|
if (stockinOrders.size() == 0) {
|
||||||
Assert.state(false, "丽知:OFS调整入库(组装入库)--->U8C组装订单根据单据号[入库完成]:{},未查询到调整出库单", stockinNo);
|
Assert.state(false, "丽知:OFS调整入库(组装入库)--->U8C组装订单根据单据号[入库完成]:{},未查询到调整出库单", stockinNo);
|
||||||
|
@ -218,7 +216,6 @@ public class AdjustInZZPluginInitializer extends PluginBaseEntity {
|
||||||
queryOfsStockinOrderRequestVO.setClosedAt_start(start);
|
queryOfsStockinOrderRequestVO.setClosedAt_start(start);
|
||||||
queryOfsStockinOrderRequestVO.setClosedAt_end(end);
|
queryOfsStockinOrderRequestVO.setClosedAt_end(end);
|
||||||
List<StockinOrderSearchResponse.StockinOrder> stockinOrders = queryOfsStockinOrder(queryOfsStockinOrderRequestVO);
|
List<StockinOrderSearchResponse.StockinOrder> stockinOrders = queryOfsStockinOrder(queryOfsStockinOrderRequestVO);
|
||||||
System.out.println(stockinOrders);
|
|
||||||
|
|
||||||
if (stockinOrders.size() == 0) {
|
if (stockinOrders.size() == 0) {
|
||||||
Assert.state(false, "丽知:OFS调整入库(组装入库)--->U8C组装订单根据日期期间[开始时间]-[结束时间]:{}-{},未查询到调整入库单[入库完成]", startTime, endTime);
|
Assert.state(false, "丽知:OFS调整入库(组装入库)--->U8C组装订单根据日期期间[开始时间]-[结束时间]:{}-{},未查询到调整入库单[入库完成]", startTime, endTime);
|
||||||
|
@ -296,7 +293,6 @@ public class AdjustInZZPluginInitializer extends PluginBaseEntity {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
StockinOrderSearchResponse.StockinOrder.StockinH ofsHeader = stockinOrder.getHeader();
|
StockinOrderSearchResponse.StockinOrder.StockinH ofsHeader = stockinOrder.getHeader();
|
||||||
System.out.println(ofsHeader);
|
|
||||||
//主表
|
//主表
|
||||||
ofsCode=ofsHeader.getCode();
|
ofsCode=ofsHeader.getCode();
|
||||||
SpecialbillVO specialbillVO = new SpecialbillVO();
|
SpecialbillVO specialbillVO = new SpecialbillVO();
|
||||||
|
@ -372,9 +368,7 @@ public class AdjustInZZPluginInitializer extends PluginBaseEntity {
|
||||||
}
|
}
|
||||||
specialbillVO.setParentvo(parentvo);
|
specialbillVO.setParentvo(parentvo);
|
||||||
specialbillVO.setChildrenvo(childrenvo);
|
specialbillVO.setChildrenvo(childrenvo);
|
||||||
System.out.println(specialbillVO);
|
|
||||||
mapStr="{\"specialbillvo\": ["+JSONUtil.toJsonStr(specialbillVO)+"]}";
|
mapStr="{\"specialbillvo\": ["+JSONUtil.toJsonStr(specialbillVO)+"]}";
|
||||||
System.out.println(mapStr);
|
|
||||||
|
|
||||||
//推送
|
//推送
|
||||||
ZTResult ztResult = pushU8CByApiCode.pushByPK(OverallConstant.getOverAllValue("special4lSaveCode"), mapStr);
|
ZTResult ztResult = pushU8CByApiCode.pushByPK(OverallConstant.getOverAllValue("special4lSaveCode"), mapStr);
|
||||||
|
@ -385,7 +379,6 @@ public class AdjustInZZPluginInitializer extends PluginBaseEntity {
|
||||||
Assert.state(false, "丽知:OFS调整入库(组装入库)--->U8C组装订单,中台转发失败,失败原因:{}", ztResult.getAttribute());
|
Assert.state(false, "丽知:OFS调整入库(组装入库)--->U8C组装订单,中台转发失败,失败原因:{}", ztResult.getAttribute());
|
||||||
}
|
}
|
||||||
Attribute attribute = ztResult.getAttribute();
|
Attribute attribute = ztResult.getAttribute();
|
||||||
System.out.println(attribute);
|
|
||||||
boolean isSuccess = false;
|
boolean isSuccess = false;
|
||||||
String vbillcode = "";
|
String vbillcode = "";
|
||||||
String cSpecialHId = "";
|
String cSpecialHId = "";
|
||||||
|
@ -393,7 +386,6 @@ public class AdjustInZZPluginInitializer extends PluginBaseEntity {
|
||||||
isSuccess = true;
|
isSuccess = true;
|
||||||
String data = attribute.getData();
|
String data = attribute.getData();
|
||||||
SpecialbillVO resSpecialbillVO = resultDataHandle(data);
|
SpecialbillVO resSpecialbillVO = resultDataHandle(data);
|
||||||
System.out.println(resSpecialbillVO);
|
|
||||||
vbillcode = resSpecialbillVO.getParentvo().getVbillcode();
|
vbillcode = resSpecialbillVO.getParentvo().getVbillcode();
|
||||||
cSpecialHId = resSpecialbillVO.getParentvo().getCspecialhid();
|
cSpecialHId = resSpecialbillVO.getParentvo().getCspecialhid();
|
||||||
}
|
}
|
||||||
|
@ -522,7 +514,6 @@ public class AdjustInZZPluginInitializer extends PluginBaseEntity {
|
||||||
interfaceParamDto.setApi("ofs.adjustOrder.search");
|
interfaceParamDto.setApi("ofs.adjustOrder.search");
|
||||||
interfaceParamDto.setData(JSON.toJSONString(queryOfsAdjustOrderRequestVO));
|
interfaceParamDto.setData(JSON.toJSONString(queryOfsAdjustOrderRequestVO));
|
||||||
OFSAdjustOrderSearchResponse ofsAdjustOrderSearchResponse = (OFSAdjustOrderSearchResponse) ofsUnifiedService.unified(interfaceParamDto);
|
OFSAdjustOrderSearchResponse ofsAdjustOrderSearchResponse = (OFSAdjustOrderSearchResponse) ofsUnifiedService.unified(interfaceParamDto);
|
||||||
System.out.println(ofsAdjustOrderSearchResponse);
|
|
||||||
List<OFSAdjustOrderSearchResponse.OFSAdjustOrder> data = ofsAdjustOrderSearchResponse.getData();
|
List<OFSAdjustOrderSearchResponse.OFSAdjustOrder> data = ofsAdjustOrderSearchResponse.getData();
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
|
@ -333,7 +333,6 @@ public class AdjustOutPluginInitializer extends PluginBaseEntity {
|
||||||
//子表
|
//子表
|
||||||
List<GeneralBillVO_4IDto.Childrenvo> childrenvo = new ArrayList<>();
|
List<GeneralBillVO_4IDto.Childrenvo> childrenvo = new ArrayList<>();
|
||||||
for (StockoutOrderSearchResponse.StockoutOrder.StockoutB ofsDetail : stockoutOrder.getDetails()) {
|
for (StockoutOrderSearchResponse.StockoutOrder.StockoutB ofsDetail : stockoutOrder.getDetails()) {
|
||||||
System.out.println(ofsDetail);
|
|
||||||
GeneralBillVO_4IDto.Childrenvo children = new GeneralBillVO_4IDto.Childrenvo();
|
GeneralBillVO_4IDto.Childrenvo children = new GeneralBillVO_4IDto.Childrenvo();
|
||||||
|
|
||||||
//dbizdate业务日期
|
//dbizdate业务日期
|
||||||
|
@ -366,7 +365,6 @@ public class AdjustOutPluginInitializer extends PluginBaseEntity {
|
||||||
Assert.state(false, "丽知:OFS调整出库--->U8C其它出库.中台转发失败,失败原因:{}", ztResult.getAttribute());
|
Assert.state(false, "丽知:OFS调整出库--->U8C其它出库.中台转发失败,失败原因:{}", ztResult.getAttribute());
|
||||||
}
|
}
|
||||||
Attribute attribute = ztResult.getAttribute();
|
Attribute attribute = ztResult.getAttribute();
|
||||||
System.out.println(attribute);
|
|
||||||
|
|
||||||
boolean isSuccess = false;
|
boolean isSuccess = false;
|
||||||
String vbillcode = "";
|
String vbillcode = "";
|
||||||
|
@ -375,7 +373,6 @@ public class AdjustOutPluginInitializer extends PluginBaseEntity {
|
||||||
isSuccess = true;
|
isSuccess = true;
|
||||||
String data = attribute.getData();
|
String data = attribute.getData();
|
||||||
GeneralBillVO_4IDto resGeneralBillVO = resultDataHandle(data);
|
GeneralBillVO_4IDto resGeneralBillVO = resultDataHandle(data);
|
||||||
System.out.println(resGeneralBillVO);
|
|
||||||
vbillcode = resGeneralBillVO.getParentvo().getVbillcode();
|
vbillcode = resGeneralBillVO.getParentvo().getVbillcode();
|
||||||
vbillId = resGeneralBillVO.getParentvo().getCgeneralhid();
|
vbillId = resGeneralBillVO.getParentvo().getCgeneralhid();
|
||||||
}
|
}
|
||||||
|
@ -389,7 +386,7 @@ public class AdjustOutPluginInitializer extends PluginBaseEntity {
|
||||||
integrationTaskLivingDetailsEntity.setNewTransmitInfo(attribute.getData());
|
integrationTaskLivingDetailsEntity.setNewTransmitInfo(attribute.getData());
|
||||||
integrationTaskLivingDetailsEntity.setNewPushDate(new Date());
|
integrationTaskLivingDetailsEntity.setNewPushDate(new Date());
|
||||||
integrationTaskLivingDetailsEntity.setBusinessDate(format);
|
integrationTaskLivingDetailsEntity.setBusinessDate(format);
|
||||||
integrationTaskLivingDetailsEntity.setRootAppPk(ofsId);
|
integrationTaskLivingDetailsEntity.setRootAppPk(ofsCode);
|
||||||
integrationTaskLivingDetailsEntity.setRootAppBill(ofsCode);
|
integrationTaskLivingDetailsEntity.setRootAppBill(ofsCode);
|
||||||
integrationTaskLivingDetailsEntity.setNewSystemNumber(vbillcode);//u8c其他出库单号
|
integrationTaskLivingDetailsEntity.setNewSystemNumber(vbillcode);//u8c其他出库单号
|
||||||
integrationTaskLivingDetailsEntity.setNewSystemPrimary(vbillId);//u8c其他出库单号
|
integrationTaskLivingDetailsEntity.setNewSystemPrimary(vbillId);//u8c其他出库单号
|
||||||
|
@ -486,7 +483,6 @@ public class AdjustOutPluginInitializer extends PluginBaseEntity {
|
||||||
data.add(stockoutOrder);
|
data.add(stockoutOrder);
|
||||||
}
|
}
|
||||||
stockoutOrderSearchResponse.setData(data);
|
stockoutOrderSearchResponse.setData(data);
|
||||||
System.out.println(stockoutOrderSearchResponse);
|
|
||||||
return stockoutOrderSearchResponse;
|
return stockoutOrderSearchResponse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -522,7 +518,6 @@ public class AdjustOutPluginInitializer extends PluginBaseEntity {
|
||||||
interfaceParamDto.setApi("ofs.adjustOrder.search");
|
interfaceParamDto.setApi("ofs.adjustOrder.search");
|
||||||
interfaceParamDto.setData(JSON.toJSONString(queryOfsAdjustOrderRequestVO));
|
interfaceParamDto.setData(JSON.toJSONString(queryOfsAdjustOrderRequestVO));
|
||||||
OFSAdjustOrderSearchResponse ofsAdjustOrderSearchResponse = (OFSAdjustOrderSearchResponse) ofsUnifiedService.unified(interfaceParamDto);
|
OFSAdjustOrderSearchResponse ofsAdjustOrderSearchResponse = (OFSAdjustOrderSearchResponse) ofsUnifiedService.unified(interfaceParamDto);
|
||||||
System.out.println(ofsAdjustOrderSearchResponse);
|
|
||||||
List<OFSAdjustOrderSearchResponse.OFSAdjustOrder> data = ofsAdjustOrderSearchResponse.getData();
|
List<OFSAdjustOrderSearchResponse.OFSAdjustOrder> data = ofsAdjustOrderSearchResponse.getData();
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
|
@ -241,7 +241,6 @@ public class OtherInPluginInitializer extends PluginBaseEntity {
|
||||||
String ofsCode = "";
|
String ofsCode = "";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
System.out.println(icGeneralHEntity);
|
|
||||||
|
|
||||||
IcGeneralAuditVO icGeneralAuditVO = new IcGeneralAuditVO();
|
IcGeneralAuditVO icGeneralAuditVO = new IcGeneralAuditVO();
|
||||||
IcGeneralAuditVO.QueryInfo queryInfo = new IcGeneralAuditVO.QueryInfo();
|
IcGeneralAuditVO.QueryInfo queryInfo = new IcGeneralAuditVO.QueryInfo();
|
||||||
|
@ -264,7 +263,6 @@ public class OtherInPluginInitializer extends PluginBaseEntity {
|
||||||
|
|
||||||
// mapStr="{"+ JSONUtil.toJsonStr(icGeneralAuditVO)+"}";
|
// mapStr="{"+ JSONUtil.toJsonStr(icGeneralAuditVO)+"}";
|
||||||
mapStr= JSONUtil.toJsonStr(icGeneralAuditVO);
|
mapStr= JSONUtil.toJsonStr(icGeneralAuditVO);
|
||||||
System.out.println(mapStr);
|
|
||||||
|
|
||||||
//推送
|
//推送
|
||||||
ZTResult ztResult = pushU8CByApiCode.pushByCode(OverallConstant.getOverAllValue("otherinsignCode"), mapStr);
|
ZTResult ztResult = pushU8CByApiCode.pushByCode(OverallConstant.getOverAllValue("otherinsignCode"), mapStr);
|
||||||
|
@ -275,7 +273,6 @@ public class OtherInPluginInitializer extends PluginBaseEntity {
|
||||||
Assert.state(false, "丽知:其他出库单自动审核,中台转发失败,失败原因:{}", ztResult.getAttribute());
|
Assert.state(false, "丽知:其他出库单自动审核,中台转发失败,失败原因:{}", ztResult.getAttribute());
|
||||||
}
|
}
|
||||||
Attribute attribute = ztResult.getAttribute();
|
Attribute attribute = ztResult.getAttribute();
|
||||||
System.out.println(attribute);
|
|
||||||
boolean isSuccess = false;
|
boolean isSuccess = false;
|
||||||
if ("success".equals(attribute.getStatus())) {
|
if ("success".equals(attribute.getStatus())) {
|
||||||
isSuccess = true;
|
isSuccess = true;
|
||||||
|
|
|
@ -246,7 +246,6 @@ public class OtherOutPluginInitializer extends PluginBaseEntity {
|
||||||
String ofsCode = "";
|
String ofsCode = "";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
System.out.println(icGeneralHEntity);
|
|
||||||
|
|
||||||
IcGeneralAuditVO icGeneralAuditVO = new IcGeneralAuditVO();
|
IcGeneralAuditVO icGeneralAuditVO = new IcGeneralAuditVO();
|
||||||
IcGeneralAuditVO.QueryInfo queryInfo = new IcGeneralAuditVO.QueryInfo();
|
IcGeneralAuditVO.QueryInfo queryInfo = new IcGeneralAuditVO.QueryInfo();
|
||||||
|
@ -269,7 +268,6 @@ public class OtherOutPluginInitializer extends PluginBaseEntity {
|
||||||
|
|
||||||
// mapStr="{"+ JSONUtil.toJsonStr(icGeneralAuditVO)+"}";
|
// mapStr="{"+ JSONUtil.toJsonStr(icGeneralAuditVO)+"}";
|
||||||
mapStr=JSONUtil.toJsonStr(icGeneralAuditVO);
|
mapStr=JSONUtil.toJsonStr(icGeneralAuditVO);
|
||||||
System.out.println(mapStr);
|
|
||||||
|
|
||||||
//推送
|
//推送
|
||||||
ZTResult ztResult = pushU8CByApiCode.pushByCode(OverallConstant.getOverAllValue("otheroutsignCode"), mapStr);
|
ZTResult ztResult = pushU8CByApiCode.pushByCode(OverallConstant.getOverAllValue("otheroutsignCode"), mapStr);
|
||||||
|
@ -280,7 +278,6 @@ public class OtherOutPluginInitializer extends PluginBaseEntity {
|
||||||
Assert.state(false, "丽知:其他出库单自动审核,中台转发失败,失败原因:{}", ztResult.getAttribute());
|
Assert.state(false, "丽知:其他出库单自动审核,中台转发失败,失败原因:{}", ztResult.getAttribute());
|
||||||
}
|
}
|
||||||
Attribute attribute = ztResult.getAttribute();
|
Attribute attribute = ztResult.getAttribute();
|
||||||
System.out.println(attribute);
|
|
||||||
boolean isSuccess = false;
|
boolean isSuccess = false;
|
||||||
if ("success".equals(attribute.getStatus())) {
|
if ("success".equals(attribute.getStatus())) {
|
||||||
isSuccess = true;
|
isSuccess = true;
|
||||||
|
|
|
@ -281,7 +281,6 @@ public class GoodsAutoAllotPluginInitializer extends PluginBaseEntity {
|
||||||
if ("success".equals(attribute.getStatus())) {
|
if ("success".equals(attribute.getStatus())) {
|
||||||
isSuccess = true;
|
isSuccess = true;
|
||||||
String data = attribute.getData();
|
String data = attribute.getData();
|
||||||
System.out.println(data);
|
|
||||||
}
|
}
|
||||||
if (!isSuccess) {
|
if (!isSuccess) {
|
||||||
Assert.state(false, "丽知:U8C->存货基本档案自动分配全公司 失败 接口返回结果:{} 接口入参:{}", attribute.getErrormsg(), mapStr);
|
Assert.state(false, "丽知:U8C->存货基本档案自动分配全公司 失败 接口返回结果:{} 接口入参:{}", attribute.getErrormsg(), mapStr);
|
||||||
|
|
|
@ -247,11 +247,9 @@ public class KitPluginInitializer extends PluginBaseEntity {
|
||||||
|
|
||||||
//查询所有公司
|
//查询所有公司
|
||||||
List<BdCorpEntity> bdCorpEntities = queryU8CEntityUtil.queryBdCorp();
|
List<BdCorpEntity> bdCorpEntities = queryU8CEntityUtil.queryBdCorp();
|
||||||
System.out.println(bdCorpEntities);
|
|
||||||
|
|
||||||
//ofsKit列表
|
//ofsKit列表
|
||||||
for (OfsKitOrderSearchResponse.OfsKit ofsKit : filterKits) {
|
for (OfsKitOrderSearchResponse.OfsKit ofsKit : filterKits) {
|
||||||
System.out.println(ofsKit);
|
|
||||||
|
|
||||||
String mapStr="";
|
String mapStr="";
|
||||||
String response="";
|
String response="";
|
||||||
|
@ -315,7 +313,6 @@ public class KitPluginInitializer extends PluginBaseEntity {
|
||||||
// setpart.setPk_invmandocpart(detail.getSkuCode());
|
// setpart.setPk_invmandocpart(detail.getSkuCode());
|
||||||
// //childsnum 父含子数
|
// //childsnum 父含子数
|
||||||
// setpart.setChildsnum(detail.getQuantity());
|
// setpart.setChildsnum(detail.getQuantity());
|
||||||
// System.out.println(detail.getQuantity());
|
|
||||||
// //partpercent 单件单价权数,妮妮姐说的:全传1
|
// //partpercent 单件单价权数,妮妮姐说的:全传1
|
||||||
// setpart.setPartpercent("1");
|
// setpart.setPartpercent("1");
|
||||||
// //pk_corp 公司
|
// //pk_corp 公司
|
||||||
|
@ -325,8 +322,6 @@ public class KitPluginInitializer extends PluginBaseEntity {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
System.out.println(setpartVOS);
|
|
||||||
System.out.println(JSONUtil.toJsonStr(setpartVOS));
|
|
||||||
String jsonStr = JSONUtil.toJsonStr(setpartVOS);
|
String jsonStr = JSONUtil.toJsonStr(setpartVOS);
|
||||||
|
|
||||||
mapStr= "{\"setpartvo\":" + jsonStr + "}";
|
mapStr= "{\"setpartvo\":" + jsonStr + "}";
|
||||||
|
@ -401,7 +396,6 @@ public class KitPluginInitializer extends PluginBaseEntity {
|
||||||
queryOfsKitRequestVO.setPageSize(String.valueOf(pageSize));
|
queryOfsKitRequestVO.setPageSize(String.valueOf(pageSize));
|
||||||
interfaceParamDto.setData(JSON.toJSONString(queryOfsKitRequestVO));
|
interfaceParamDto.setData(JSON.toJSONString(queryOfsKitRequestVO));
|
||||||
OfsKitOrderSearchResponse ofsKitOrderSearchResponse = (OfsKitOrderSearchResponse) ofsUnifiedService.unifiedByU8CApi(interfaceParamDto);
|
OfsKitOrderSearchResponse ofsKitOrderSearchResponse = (OfsKitOrderSearchResponse) ofsUnifiedService.unifiedByU8CApi(interfaceParamDto);
|
||||||
System.out.println(ofsKitOrderSearchResponse);
|
|
||||||
|
|
||||||
all.addAll(ofsKitOrderSearchResponse.getData());
|
all.addAll(ofsKitOrderSearchResponse.getData());
|
||||||
|
|
||||||
|
|
|
@ -271,7 +271,6 @@ public class SKUClassPluginInitializer extends PluginBaseEntity {
|
||||||
List<BdInvclEntity> bdInvclEntities = new ArrayList<>();
|
List<BdInvclEntity> bdInvclEntities = new ArrayList<>();
|
||||||
try {
|
try {
|
||||||
String url = null;
|
String url = null;
|
||||||
System.out.println(skuClass);
|
|
||||||
String skuId = skuClass.getId();
|
String skuId = skuClass.getId();
|
||||||
//查询该id再u8c是否有数据,没有则是新增,有则是修改
|
//查询该id再u8c是否有数据,没有则是新增,有则是修改
|
||||||
BdInvclEntity bdInvclEntity = new BdInvclEntity();
|
BdInvclEntity bdInvclEntity = new BdInvclEntity();
|
||||||
|
@ -286,7 +285,6 @@ public class SKUClassPluginInitializer extends PluginBaseEntity {
|
||||||
bdInvclEntity.setInvclasscode(skuClass.getCInvCCode());
|
bdInvclEntity.setInvclasscode(skuClass.getCInvCCode());
|
||||||
bdInvclEntity.setInvclassname(skuClass.getCInvCName());
|
bdInvclEntity.setInvclassname(skuClass.getCInvCName());
|
||||||
List<BdInvclEntity> bdInvclEntityList1 = bdInvclDao.query(bdInvclEntity);
|
List<BdInvclEntity> bdInvclEntityList1 = bdInvclDao.query(bdInvclEntity);
|
||||||
System.out.println(bdInvclEntityList1);
|
|
||||||
if (bdInvclEntityList1.size()==1) {
|
if (bdInvclEntityList1.size()==1) {
|
||||||
//修改
|
//修改
|
||||||
url = OverallConstant.getOverAllValue("bdinvUpdateCode");
|
url = OverallConstant.getOverAllValue("bdinvUpdateCode");
|
||||||
|
@ -330,7 +328,6 @@ public class SKUClassPluginInitializer extends PluginBaseEntity {
|
||||||
isSuccess = true;
|
isSuccess = true;
|
||||||
String data = attribute.getData();
|
String data = attribute.getData();
|
||||||
BdInvclEntity resBdInvclEntity = resultDataHandle(data);
|
BdInvclEntity resBdInvclEntity = resultDataHandle(data);
|
||||||
System.out.println(resBdInvclEntity);
|
|
||||||
invclasscode = resBdInvclEntity.getInvclasscode();
|
invclasscode = resBdInvclEntity.getInvclasscode();
|
||||||
}
|
}
|
||||||
if (!isSuccess) {
|
if (!isSuccess) {
|
||||||
|
|
|
@ -336,7 +336,6 @@ public class SKUSealPluginInitializer extends PluginBaseEntity {
|
||||||
if ("success".equals(attribute.getStatus())) {
|
if ("success".equals(attribute.getStatus())) {
|
||||||
isSuccess = true;
|
isSuccess = true;
|
||||||
String data = attribute.getData();
|
String data = attribute.getData();
|
||||||
System.out.println(data);
|
|
||||||
}
|
}
|
||||||
if (!isSuccess) {
|
if (!isSuccess) {
|
||||||
Assert.state(false, "推送U8C--> 丽知:U8C货品档案(封存、取消封存) 失败 接口返回结果:{} 接口入参:{}", attribute.getErrormsg(), mapStr);
|
Assert.state(false, "推送U8C--> 丽知:U8C货品档案(封存、取消封存) 失败 接口返回结果:{} 接口入参:{}", attribute.getErrormsg(), mapStr);
|
||||||
|
|
|
@ -361,7 +361,6 @@ public class RefundOnlyPluginInitializer extends PluginBaseEntity {
|
||||||
//分摊
|
//分摊
|
||||||
for (RerturnGoodsOrderSearchData filterReturnGoodsOrder : filterReturnGoodsOrders) {
|
for (RerturnGoodsOrderSearchData filterReturnGoodsOrder : filterReturnGoodsOrders) {
|
||||||
ofsOrderAfterSalesAmountAllocationUtil.tocSalesAmountAllocation(filterReturnGoodsOrder);
|
ofsOrderAfterSalesAmountAllocationUtil.tocSalesAmountAllocation(filterReturnGoodsOrder);
|
||||||
System.out.println(filterReturnGoodsOrder);
|
|
||||||
//查询部门
|
//查询部门
|
||||||
String refOrderCode = filterReturnGoodsOrder.getHeader().getRefOrderCode();
|
String refOrderCode = filterReturnGoodsOrder.getHeader().getRefOrderCode();
|
||||||
SaleOrderMessageDto ofsSaleOrder = getOfsOrder(refOrderCode);
|
SaleOrderMessageDto ofsSaleOrder = getOfsOrder(refOrderCode);
|
||||||
|
@ -516,9 +515,7 @@ public class RefundOnlyPluginInitializer extends PluginBaseEntity {
|
||||||
//推送
|
//推送
|
||||||
arapDjzbVO.setParentvo(parentvo);
|
arapDjzbVO.setParentvo(parentvo);
|
||||||
arapDjzbVO.setChildren(children);
|
arapDjzbVO.setChildren(children);
|
||||||
System.out.println(arapDjzbVO);
|
|
||||||
mapStr = "{\"djzbvo\":[" + JSONUtil.toJsonStr(arapDjzbVO) + "]}";
|
mapStr = "{\"djzbvo\":[" + JSONUtil.toJsonStr(arapDjzbVO) + "]}";
|
||||||
System.out.println(mapStr);
|
|
||||||
//推送
|
//推送
|
||||||
ZTResult ztResult = pushU8CByApiCode.pushByCode(OverallConstant.getOverAllValue("arapYsInsertApproveCode"), mapStr);
|
ZTResult ztResult = pushU8CByApiCode.pushByCode(OverallConstant.getOverAllValue("arapYsInsertApproveCode"), mapStr);
|
||||||
//两层判断,一层中台转发,一层u8c返回
|
//两层判断,一层中台转发,一层u8c返回
|
||||||
|
@ -528,7 +525,6 @@ public class RefundOnlyPluginInitializer extends PluginBaseEntity {
|
||||||
Assert.state(false, "丽知:售后订单(仅退款)--->U8C红字应收单,中台转发失败,失败原因:{}", ztResult.getAttribute());
|
Assert.state(false, "丽知:售后订单(仅退款)--->U8C红字应收单,中台转发失败,失败原因:{}", ztResult.getAttribute());
|
||||||
}
|
}
|
||||||
Attribute attribute = ztResult.getAttribute();
|
Attribute attribute = ztResult.getAttribute();
|
||||||
System.out.println(attribute);
|
|
||||||
boolean isSuccess = false;
|
boolean isSuccess = false;
|
||||||
String djbh = "";
|
String djbh = "";
|
||||||
String vouchid = "";
|
String vouchid = "";
|
||||||
|
@ -536,7 +532,6 @@ public class RefundOnlyPluginInitializer extends PluginBaseEntity {
|
||||||
isSuccess = true;
|
isSuccess = true;
|
||||||
String data = attribute.getData();
|
String data = attribute.getData();
|
||||||
ArapDjzb arapDj = resultDataHandle(data);
|
ArapDjzb arapDj = resultDataHandle(data);
|
||||||
System.out.println(arapDj);
|
|
||||||
djbh = arapDj.getParentvo().getDjbh();
|
djbh = arapDj.getParentvo().getDjbh();
|
||||||
vouchid = arapDj.getParentvo().getVouchid();
|
vouchid = arapDj.getParentvo().getVouchid();
|
||||||
}
|
}
|
||||||
|
|
|
@ -275,7 +275,6 @@ public class TransferInPluginInitializer extends PluginBaseEntity {
|
||||||
*/
|
*/
|
||||||
public void implement(List<StockinOrderSearchResponse.StockinOrder> filterTransferInOrders) {
|
public void implement(List<StockinOrderSearchResponse.StockinOrder> filterTransferInOrders) {
|
||||||
for (StockinOrderSearchResponse.StockinOrder transferInOrders : filterTransferInOrders) {
|
for (StockinOrderSearchResponse.StockinOrder transferInOrders : filterTransferInOrders) {
|
||||||
System.out.println(transferInOrders);
|
|
||||||
String mapStr = "";
|
String mapStr = "";
|
||||||
String format = "";
|
String format = "";
|
||||||
String response = "";
|
String response = "";
|
||||||
|
@ -338,7 +337,6 @@ public class TransferInPluginInitializer extends PluginBaseEntity {
|
||||||
|
|
||||||
|
|
||||||
for (IcGeneralBEntity icGeneralBEntity : icGeneralBEntityList) {
|
for (IcGeneralBEntity icGeneralBEntity : icGeneralBEntityList) {
|
||||||
System.out.println(icGeneralBEntity);
|
|
||||||
//根据存货+行号匹配
|
//根据存货+行号匹配
|
||||||
if (ofsTransferDetail.getRefOrderDetailId().equals(icGeneralBEntity.getVuserdef20().trim()) && ofsTransferDetail.getSkuCode().equals(icGeneralBEntity.getCinvbascode())) {
|
if (ofsTransferDetail.getRefOrderDetailId().equals(icGeneralBEntity.getVuserdef20().trim()) && ofsTransferDetail.getSkuCode().equals(icGeneralBEntity.getCinvbascode())) {
|
||||||
//crowno 行号
|
//crowno 行号
|
||||||
|
@ -357,7 +355,6 @@ public class TransferInPluginInitializer extends PluginBaseEntity {
|
||||||
|
|
||||||
mapStr = "{\"GeneralBillVO\":[" + JSONUtil.toJsonStr(generalBillVO) + "]}";
|
mapStr = "{\"GeneralBillVO\":[" + JSONUtil.toJsonStr(generalBillVO) + "]}";
|
||||||
ZTResult ztResult = pushU8CByApiCode.pushByCode(OverallConstant.getOverAllValue("approveInqzCode"), mapStr);
|
ZTResult ztResult = pushU8CByApiCode.pushByCode(OverallConstant.getOverAllValue("approveInqzCode"), mapStr);
|
||||||
System.out.println(ztResult);
|
|
||||||
//两层判断,一层中台转发,一层u8c返回
|
//两层判断,一层中台转发,一层u8c返回
|
||||||
if ("false".equals(ztResult.getFlag())) {
|
if ("false".equals(ztResult.getFlag())) {
|
||||||
//转发失败
|
//转发失败
|
||||||
|
@ -365,14 +362,12 @@ public class TransferInPluginInitializer extends PluginBaseEntity {
|
||||||
Assert.state(false, "丽知:OFS调拨入库订单--->U8C调拨入库订单.中台转发失败,失败原因:{}", response);
|
Assert.state(false, "丽知:OFS调拨入库订单--->U8C调拨入库订单.中台转发失败,失败原因:{}", response);
|
||||||
}
|
}
|
||||||
Attribute attribute = ztResult.getAttribute();
|
Attribute attribute = ztResult.getAttribute();
|
||||||
System.out.println(attribute);
|
|
||||||
boolean isSuccess = false;
|
boolean isSuccess = false;
|
||||||
String vbillcode = "";
|
String vbillcode = "";
|
||||||
if ("success".equals(attribute.getStatus())) {
|
if ("success".equals(attribute.getStatus())) {
|
||||||
isSuccess = true;
|
isSuccess = true;
|
||||||
String data = attribute.getData();
|
String data = attribute.getData();
|
||||||
GeneralBillVO generalBill = resultDataHandle(data);
|
GeneralBillVO generalBill = resultDataHandle(data);
|
||||||
System.out.println(generalBill);
|
|
||||||
vbillcode = generalBill.getParentvo().getVbillcode();
|
vbillcode = generalBill.getParentvo().getVbillcode();
|
||||||
}
|
}
|
||||||
if (!isSuccess) {
|
if (!isSuccess) {
|
||||||
|
|
|
@ -266,7 +266,6 @@ public class TransferOutPluginInitializer extends PluginBaseEntity {
|
||||||
*/
|
*/
|
||||||
public void implement(List<StockoutOrderSearchResponse.StockoutOrder> filterTransferOutOrders) {
|
public void implement(List<StockoutOrderSearchResponse.StockoutOrder> filterTransferOutOrders) {
|
||||||
for (StockoutOrderSearchResponse.StockoutOrder transferOutOrder : filterTransferOutOrders) {
|
for (StockoutOrderSearchResponse.StockoutOrder transferOutOrder : filterTransferOutOrders) {
|
||||||
System.out.println(transferOutOrder);
|
|
||||||
BillVO billVO = new BillVO();
|
BillVO billVO = new BillVO();
|
||||||
|
|
||||||
String mapStr = "";
|
String mapStr = "";
|
||||||
|
@ -285,7 +284,6 @@ public class TransferOutPluginInitializer extends PluginBaseEntity {
|
||||||
Assert.state(false, "根据调拨出库单:{},的来源单据号:{},查询OFS调拨订单为空或不唯一。请检查。", ofsCode, stockoutH.getSourceOrderCode());
|
Assert.state(false, "根据调拨出库单:{},的来源单据号:{},查询OFS调拨订单为空或不唯一。请检查。", ofsCode, stockoutH.getSourceOrderCode());
|
||||||
}
|
}
|
||||||
OFSTranseferOrderSearchResponse.OFSTranseferOrder ofsTranseferOrder = ofsTranseferOrders.get(0);
|
OFSTranseferOrderSearchResponse.OFSTranseferOrder ofsTranseferOrder = ofsTranseferOrders.get(0);
|
||||||
System.out.println(ofsTranseferOrder);
|
|
||||||
////////////////////////////////////////////////////////////////////////////////ofs调拨订单
|
////////////////////////////////////////////////////////////////////////////////ofs调拨订单
|
||||||
|
|
||||||
//创建日期,调拨出库创建时间
|
//创建日期,调拨出库创建时间
|
||||||
|
@ -336,7 +334,6 @@ public class TransferOutPluginInitializer extends PluginBaseEntity {
|
||||||
List<OFSTranseferOrderSearchResponse.OFSTranseferOrder.OFSTranseferB> ofsDetails = ofsTranseferOrder.getDetails();
|
List<OFSTranseferOrderSearchResponse.OFSTranseferOrder.OFSTranseferB> ofsDetails = ofsTranseferOrder.getDetails();
|
||||||
List<BillVO.Childrenvo> childrenvo = new ArrayList<>();
|
List<BillVO.Childrenvo> childrenvo = new ArrayList<>();
|
||||||
for (OFSTranseferOrderSearchResponse.OFSTranseferOrder.OFSTranseferB ofsDetail : ofsDetails) {
|
for (OFSTranseferOrderSearchResponse.OFSTranseferOrder.OFSTranseferB ofsDetail : ofsDetails) {
|
||||||
System.out.println(ofsDetail);
|
|
||||||
BillVO.Childrenvo children = new BillVO.Childrenvo();
|
BillVO.Childrenvo children = new BillVO.Childrenvo();
|
||||||
//表体
|
//表体
|
||||||
//cinvbasid 存货基本档案
|
//cinvbasid 存货基本档案
|
||||||
|
@ -350,7 +347,6 @@ public class TransferOutPluginInitializer extends PluginBaseEntity {
|
||||||
|
|
||||||
//nprice 单价(含税单价),取上一次结账的单价 nmny金额 nnotaxmny无税金额 nnotaxprice 无税单价
|
//nprice 单价(含税单价),取上一次结账的单价 nmny金额 nnotaxmny无税金额 nnotaxprice 无税单价
|
||||||
IaMonthledgerEntity iaMonthledgerEntity = queryIaMonthledger(ofsDetail, ofsTranseferOrder.getHeader().getCompanyCode());
|
IaMonthledgerEntity iaMonthledgerEntity = queryIaMonthledger(ofsDetail, ofsTranseferOrder.getHeader().getCompanyCode());
|
||||||
System.out.println(iaMonthledgerEntity);
|
|
||||||
if(iaMonthledgerEntity==null){
|
if(iaMonthledgerEntity==null){
|
||||||
children.setNprice("0");
|
children.setNprice("0");
|
||||||
}else {
|
}else {
|
||||||
|
@ -364,7 +360,6 @@ public class TransferOutPluginInitializer extends PluginBaseEntity {
|
||||||
String jsonStr = JSONUtil.toJsonStr(billVO);
|
String jsonStr = JSONUtil.toJsonStr(billVO);
|
||||||
mapStr = "{\"billvo\":" + jsonStr + "}";
|
mapStr = "{\"billvo\":" + jsonStr + "}";
|
||||||
ZTResult ztResult = pushU8CByApiCode.pushByCode(OverallConstant.getOverAllValue("approveqzCode"), mapStr);
|
ZTResult ztResult = pushU8CByApiCode.pushByCode(OverallConstant.getOverAllValue("approveqzCode"), mapStr);
|
||||||
System.out.println(ztResult);
|
|
||||||
//两层判断,一层中台转发,一层u8c返回
|
//两层判断,一层中台转发,一层u8c返回
|
||||||
if ("false".equals(ztResult.getFlag())) {
|
if ("false".equals(ztResult.getFlag())) {
|
||||||
//转发失败
|
//转发失败
|
||||||
|
@ -372,7 +367,6 @@ public class TransferOutPluginInitializer extends PluginBaseEntity {
|
||||||
Assert.state(false, "丽知:OFS调拨出库订单--->U8C调拨订单,自动生成调拨出库单(保存签字).中台转发失败,失败原因:{}", ztResult.getAttribute());
|
Assert.state(false, "丽知:OFS调拨出库订单--->U8C调拨订单,自动生成调拨出库单(保存签字).中台转发失败,失败原因:{}", ztResult.getAttribute());
|
||||||
}
|
}
|
||||||
Attribute attribute = ztResult.getAttribute();
|
Attribute attribute = ztResult.getAttribute();
|
||||||
System.out.println(attribute);
|
|
||||||
boolean isSuccess = false;
|
boolean isSuccess = false;
|
||||||
String vbillcode = "";
|
String vbillcode = "";
|
||||||
String cbillid = "";
|
String cbillid = "";
|
||||||
|
@ -380,7 +374,6 @@ public class TransferOutPluginInitializer extends PluginBaseEntity {
|
||||||
isSuccess = true;
|
isSuccess = true;
|
||||||
String data = attribute.getData();
|
String data = attribute.getData();
|
||||||
BillVO resBillVO = resultDataHandle(data);
|
BillVO resBillVO = resultDataHandle(data);
|
||||||
System.out.println(resBillVO);
|
|
||||||
vbillcode = resBillVO.getParentvo().getVcode();
|
vbillcode = resBillVO.getParentvo().getVcode();
|
||||||
cbillid = resBillVO.getParentvo().getCbillid();
|
cbillid = resBillVO.getParentvo().getCbillid();
|
||||||
}
|
}
|
||||||
|
@ -492,7 +485,6 @@ public class TransferOutPluginInitializer extends PluginBaseEntity {
|
||||||
queryOfsTransferOrderRequestVO.setClientCode("LETS");
|
queryOfsTransferOrderRequestVO.setClientCode("LETS");
|
||||||
interfaceParamDto.setData(JSON.toJSONString(queryOfsTransferOrderRequestVO));
|
interfaceParamDto.setData(JSON.toJSONString(queryOfsTransferOrderRequestVO));
|
||||||
OFSTranseferOrderSearchResponse ofsTranseferOrderSearchResponse = (OFSTranseferOrderSearchResponse) ofsUnifiedService.unified(interfaceParamDto);
|
OFSTranseferOrderSearchResponse ofsTranseferOrderSearchResponse = (OFSTranseferOrderSearchResponse) ofsUnifiedService.unified(interfaceParamDto);
|
||||||
System.out.println(ofsTranseferOrderSearchResponse);
|
|
||||||
if (ofsTranseferOrderSearchResponse.getData().size() == 0) {
|
if (ofsTranseferOrderSearchResponse.getData().size() == 0) {
|
||||||
return null;
|
return null;
|
||||||
} else {
|
} else {
|
||||||
|
@ -534,7 +526,6 @@ public class TransferOutPluginInitializer extends PluginBaseEntity {
|
||||||
data.add(stockoutOrder);
|
data.add(stockoutOrder);
|
||||||
}
|
}
|
||||||
stockoutOrderSearchResponse.setData(data);
|
stockoutOrderSearchResponse.setData(data);
|
||||||
System.out.println(stockoutOrderSearchResponse);
|
|
||||||
return stockoutOrderSearchResponse;
|
return stockoutOrderSearchResponse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue