|
@@ -1156,14 +1156,14 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
|
|
|
if (main!=null){
|
|
|
Map<String, Order> mapSort=new HashMap<>();
|
|
|
-
|
|
|
+ String date2 = main.getLatestDateOfShipment2().substring(0,10);
|
|
|
String createBy="进出口平台管理员";
|
|
|
|
|
|
String createDate=main.getTheFinalShippingDate().substring(0,10);
|
|
|
JSONObject map=new JSONObject();
|
|
|
map.put("CVOUCHCODE", org.jeecg.modules.system.util.oConvertUtils.addOne(purchaseWarehousingMapper.getMaxCode("cCode","RdRecord01","dnmaketime")));
|
|
|
|
|
|
- map.put("DDATE",main.getLatestDateOfShipment());
|
|
|
+ map.put("DDATE", date2);
|
|
|
map.put("CMAKER",createBy);
|
|
|
map.put("CMEMO",main.getRemarks());
|
|
|
map.put("CHANDLER",createBy);
|
|
@@ -1171,7 +1171,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
|
|
|
JSONObject map2=new JSONObject();
|
|
|
map2.put("CVOUCHCODE",org.jeecg.modules.system.util.oConvertUtils.addOne(purchaseWarehousingMapper.getMaxCode("cCode","rdrecord11","dnmaketime")));
|
|
|
- map2.put("DDATE",createDate);
|
|
|
+ map2.put("DDATE",date2);
|
|
|
|
|
|
map2.put("CGLTYPE","委外订单");
|
|
|
map2.put("CRDCODE","22");
|
|
@@ -1179,21 +1179,21 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
|
|
|
JSONObject map3=new JSONObject();
|
|
|
map3.put("CVOUCHCODE",org.jeecg.modules.system.util.oConvertUtils.addOne(purchaseWarehousingMapper.getMaxCode("cDLCode","DispatchList","dcreatesystime")));
|
|
|
- map3.put("DDATE",createDate);
|
|
|
+ map3.put("DDATE",date2);
|
|
|
map3.put("BRETURNFLAG","0");
|
|
|
map3.put("CMAKER",createBy);
|
|
|
map3.put("CVERIFIER",createBy);
|
|
|
|
|
|
JSONObject map4=new JSONObject();
|
|
|
map4.put("CVOUCHCODE",org.jeecg.modules.system.util.oConvertUtils.addOne(purchaseWarehousingMapper.getMaxCode("ccode","rdrecord32","dnmaketime")));
|
|
|
- map4.put("DDATE",main.getLatestDateOfShipment());
|
|
|
+ map4.put("DDATE",date2);
|
|
|
map4.put("CHANDLER",createBy);
|
|
|
map4.put("CRDCODE","26");
|
|
|
map4.put("CMAKER",createBy);
|
|
|
|
|
|
JSONObject map5=new JSONObject();
|
|
|
map5.put("CVOUCHCODE",org.jeecg.modules.system.util.oConvertUtils.addOne(purchaseWarehousingMapper.getMaxCode("cpbvcode ","PurBillVouch","cmaketime")));
|
|
|
- map5.put("DDATE",createDate);
|
|
|
+ map5.put("DDATE",date2);
|
|
|
map5.put("CTYPE","专用");
|
|
|
map5.put("CMAKER",createBy);
|
|
|
map5.put("CGLTYPE","入库单");
|
|
@@ -1201,14 +1201,14 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
|
|
|
JSONObject map6=new JSONObject();
|
|
|
map6.put("CVOUCHCODE",org.jeecg.modules.system.util.oConvertUtils.addOne(purchaseWarehousingMapper.getMaxCode("cSBVCode","SaleBillVouch where cvouchtype=27","cSBVCode")));
|
|
|
- map6.put("DDATE",createDate);
|
|
|
+ map6.put("DDATE",date2);
|
|
|
map6.put("CTYPE","普通");
|
|
|
map6.put("CMAKER",createBy);
|
|
|
map6.put("CVERIFIER",createBy);
|
|
|
|
|
|
JSONObject map7=new JSONObject();
|
|
|
map7.put("CVOUCHCODE", org.jeecg.modules.system.util.oConvertUtils.addOne(org.jeecg.modules.system.util.oConvertUtils.addOne(purchaseWarehousingMapper.getMaxCode("cCode","RdRecord01","dnmaketime"))));
|
|
|
- map7.put("DDATE",main.getLatestDateOfShipment());
|
|
|
+ map7.put("DDATE",date2);
|
|
|
map7.put("CMAKER",createBy);
|
|
|
map7.put("cVouchType",1);
|
|
|
map7.put("CRDCODE","12");
|