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