|
@@ -1421,7 +1421,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
mapItem7.put("POAUTOIDCOL","MODetailsID");
|
|
|
mapItem7.put("AUTOID_PO",mapStr1.get("MODetailsID"));
|
|
|
mapItem7.put("CINVCODE",mapStr1.get("cInvCode"));
|
|
|
- mapItem7.put("IQUANTITY",mapStr1.get("iQuantity"));
|
|
|
+ mapItem7.put("IQUANTITY",item.getAfterHeavy());
|
|
|
mapItem7.put("CBATCH",item.getDyelotNumber());
|
|
|
mapItem7.put("CDEFINE26",item.getKaoClothWeight());
|
|
|
mapItems7.add(mapItem7);
|
|
@@ -1636,10 +1636,10 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
}
|
|
|
String isSucceed=null;
|
|
|
if(mapList2!=null&&mapList2.size()>0&&main.getIsSucceed()!=null&&main.getIsSucceed().indexOf("-7-")>0){
|
|
|
- JSONArray resturn2 = InterfaceConnUtils.doPost(mapList2,"materialout_import");
|
|
|
- isSucceed=result(main,resturn2,"材料出库单",((Map) mapList2.get(0)).get("CACCID").toString(),"2");
|
|
|
+ JSONArray resturn2 = InterfaceConnUtils.doPost(mapList2,"materialout_import");
|
|
|
+ isSucceed=result(main,resturn2,"材料出库单",((Map) mapList2.get(0)).get("CACCID").toString(),"2");
|
|
|
isSucceed(main,isSucceed);
|
|
|
- this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(org.jeecg.modules.system.util.oConvertUtils.maxNumber(resturn2.getJSONObject(0).get("U8ReceiptNo").toString()),"107");
|
|
|
+
|
|
|
}else if(mapList2!=null&&mapList2.size()>0&&main.getIsSucceed()==null){
|
|
|
JSONArray resturn7 = InterfaceConnUtils.doPost(mapList7,"purchasein_import");
|
|
|
isSucceed=result(main,resturn7,"印厂采购入库单",((Map) mapList.get(0)).get("CACCID").toString(),"7");
|
|
@@ -1647,9 +1647,9 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(org.jeecg.modules.system.util.oConvertUtils.maxNumber(resturn7.getJSONObject(0).get("U8ReceiptNo").toString()),"107");
|
|
|
|
|
|
JSONArray resturn2 = InterfaceConnUtils.doPost(mapList2,"materialout_import");
|
|
|
- isSucceed=result(main,resturn2,"材料出库单",((Map) mapList2.get(0)).get("CACCID").toString(),"2");
|
|
|
+ isSucceed=result(main,resturn2,"材料出库单",((Map) mapList2.get(0)).get("CACCID").toString(),"2");
|
|
|
isSucceed(main,isSucceed);
|
|
|
- this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(org.jeecg.modules.system.util.oConvertUtils.maxNumber(resturn2.getJSONObject(0).get("U8ReceiptNo").toString()),"107");
|
|
|
+
|
|
|
}
|
|
|
String recording=null;
|
|
|
if(main.getRecording()!=null){
|