|
@@ -1791,7 +1791,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
recording=result(main,resturn5,mapt.get("ordertype")+"发票单",((Map) mapList.get(0)).get("CACCID").toString(),"2");
|
|
|
redisUtil.set("pushsno002", pushsno002);
|
|
|
recording(main,recording);
|
|
|
- this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(org.jeecg.modules.system.util.oConvertUtils.maxNumber(resturn5.getJSONObject(0).get("U8ReceiptNo").toString()),"109");
|
|
|
+
|
|
|
if(((Map) mapList.get(0)).get("CACCID").toString().equals("101")){
|
|
|
return account+"账套推送成功!";
|
|
|
}
|
|
@@ -1807,7 +1807,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
maps.get(account).put("code",resturn3.getJSONObject(0).get("U8ReceiptNo").toString());
|
|
|
recording(main,recording);
|
|
|
String u8ReceiptNo103= resturn3.getJSONObject(0).get("U8ReceiptNo").toString();
|
|
|
- this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(u8ReceiptNo103,"108");
|
|
|
+
|
|
|
case "3":
|
|
|
String consignmentName=maps.get(account).get("code");
|
|
|
List<Map<String,Object>> consignmentMaps= syPackingListTailoringMapper.getDispatchLists(consignmentName);
|
|
@@ -1841,7 +1841,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
return account+"账套推送成功!";
|
|
|
}
|
|
|
String saleoutName=maps.get(account).get("code");
|
|
|
- this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(org.jeecg.modules.system.util.oConvertUtils.maxNumber(saleoutName),"131");
|
|
|
+
|
|
|
List<Map<String,Object>> saleoutMaps= syPackingListTailoringMapper.getRdrecord32(saleoutName);
|
|
|
if(saleoutMaps!=null){
|
|
|
for (Map map : saleoutMaps){
|
|
@@ -1873,7 +1873,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
recording=result(main,resturn1,mapt.get("ordertype")+"入库单",((Map) mapList.get(0)).get("CACCID").toString(),"1");
|
|
|
redisUtil.set("pushsno001", pushsno001);
|
|
|
recording(main,recording);
|
|
|
- this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(org.jeecg.modules.system.util.oConvertUtils.maxNumber(resturn1.getJSONObject(0).get("U8ReceiptNo").toString()),"107");
|
|
|
+
|
|
|
|
|
|
JSONObject jsonObject1=resturn1.getJSONObject(0);
|
|
|
String purchaseinName=jsonObject1.get("U8ReceiptNo").toString();
|
|
@@ -1902,7 +1902,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
recording=result(main,resturn5,mapt.get("ordertype")+"发票单",((Map) mapList.get(0)).get("CACCID").toString(),"2");
|
|
|
redisUtil.set("pushsno002", pushsno002);
|
|
|
recording(main,recording);
|
|
|
- this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(org.jeecg.modules.system.util.oConvertUtils.maxNumber(resturn5.getJSONObject(0).get("U8ReceiptNo").toString()),"109");
|
|
|
+
|
|
|
|
|
|
}
|
|
|
if(((Map) mapList.get(0)).get("CACCID").toString().equals("101")){
|
|
@@ -1915,7 +1915,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
redisUtil.set("pushsno003", pushsno003);
|
|
|
recording(main,recording);
|
|
|
String u8ReceiptNo103= resturn3.getJSONObject(0).get("U8ReceiptNo").toString();
|
|
|
- this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(u8ReceiptNo103,"108");
|
|
|
+
|
|
|
|
|
|
JSONObject jsonObject3=resturn3.getJSONObject(0);
|
|
|
String consignmentName=jsonObject3.get("U8ReceiptNo").toString();
|