|
@@ -1123,7 +1123,7 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
|
|
|
|
|
|
|
|
|
JSONObject map6=new JSONObject();
|
|
|
- map6.put("CVOUCHCODE",org.jeecg.modules.system.util.oConvertUtils.addOne(purchaseWarehousingMapper.getMaxCode("cSBVCode","SaleBillVouch","dcreatesystime")));
|
|
|
+ map6.put("CVOUCHCODE",org.jeecg.modules.system.util.oConvertUtils.addOne(purchaseWarehousingMapper.getMaxCode("cSBVCode","SaleBillVouch where cvouchtype=27","dcreatesystime")));
|
|
|
map6.put("DDATE",createDate);
|
|
|
map6.put("CTYPE","普通");
|
|
|
map6.put("CMAKER",createBy);
|
|
@@ -1666,11 +1666,11 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
|
|
|
throw new JeecgBootException("账套"+account+"接口"+tableName+",原因"+ jsonObject.get("Description"));
|
|
|
}
|
|
|
if(main.getRecordingCode()!=null){
|
|
|
- main.setRecordingCode(main.getRecordingCode()+";"+account+"账套"+tableName+":"+jsonObject.get("ReceiptNo"));
|
|
|
+ main.setRecordingCode(main.getRecordingCode()+";"+account+"账套"+tableName+":"+jsonObject.get("U8ReceiptNo"));
|
|
|
}else{
|
|
|
- main.setRecordingCode(account+"账套"+tableName+":"+jsonObject.get("ReceiptNo"));
|
|
|
+ main.setRecordingCode(account+"账套"+tableName+":"+jsonObject.get("U8ReceiptNo"));
|
|
|
}
|
|
|
- return account+"-"+index+"-"+jsonObject.get("ReceiptNo");
|
|
|
+ return account+"-"+index+"-"+jsonObject.get("U8ReceiptNo");
|
|
|
}
|
|
|
|
|
|
public void getcFree(JSONObject itemMap,Map<String,Object> mapPOPodetails){
|