|
@@ -1123,7 +1123,7 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
|
|
|
|
|
|
|
|
|
|
JSONObject map6=new JSONObject();//销售发票
|
|
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);//发票日期(yyyy-MM-dd)
|
|
map6.put("DDATE",createDate);//发票日期(yyyy-MM-dd)
|
|
map6.put("CTYPE","普通");//发票类型(普通,专用)
|
|
map6.put("CTYPE","普通");//发票类型(普通,专用)
|
|
map6.put("CMAKER",createBy);//制单人名称
|
|
map6.put("CMAKER",createBy);//制单人名称
|
|
@@ -1666,11 +1666,11 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
|
|
throw new JeecgBootException("账套"+account+"接口"+tableName+",原因"+ jsonObject.get("Description"));
|
|
throw new JeecgBootException("账套"+account+"接口"+tableName+",原因"+ jsonObject.get("Description"));
|
|
}
|
|
}
|
|
if(main.getRecordingCode()!=null){
|
|
if(main.getRecordingCode()!=null){
|
|
- main.setRecordingCode(main.getRecordingCode()+";"+account+"账套"+tableName+":"+jsonObject.get("ReceiptNo"));
|
|
|
|
|
|
+ main.setRecordingCode(main.getRecordingCode()+";"+account+"账套"+tableName+":"+jsonObject.get("U8ReceiptNo"));
|
|
}else{
|
|
}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){
|
|
public void getcFree(JSONObject itemMap,Map<String,Object> mapPOPodetails){
|