This commit is contained in:
linfso 2024-12-26 11:51:50 +08:00
parent 8a062516ed
commit 8cbb06f203
2 changed files with 13 additions and 8 deletions

View File

@ -1791,6 +1791,7 @@ public class EmisTmsScanRecordServiceImpl extends EmisBaseService implements IEm
// 如果已被定制账单,面单删除等不允许做问题件 // 如果已被定制账单,面单删除等不允许做问题件
EmisSettleSubBill emisSettleSubBill=emisSettleSubBillMapper.selectSettleSubBillBySubBillNo(mainBillCode); EmisSettleSubBill emisSettleSubBill=emisSettleSubBillMapper.selectSettleSubBillBySubBillNo(mainBillCode);
if(emisSettleSubBill!=null) {
if ("1".equals(emisSettleSubBill.getBlMerge()) if ("1".equals(emisSettleSubBill.getBlMerge())
&& ("151".equals(problemType) || "170".equals(problemType) || "173".equals(problemType)) && ("151".equals(problemType) || "170".equals(problemType) || "173".equals(problemType))
) { ) {
@ -1800,6 +1801,7 @@ public class EmisTmsScanRecordServiceImpl extends EmisBaseService implements IEm
itemList.add(scanResultItem); itemList.add(scanResultItem);
return itemList; return itemList;
} }
}
EmisWaybillProblemInfo emisWaybillProblemInfo = new EmisWaybillProblemInfo(); EmisWaybillProblemInfo emisWaybillProblemInfo = new EmisWaybillProblemInfo();
emisWaybillProblemInfo.setBillCode(scanBillCode); emisWaybillProblemInfo.setBillCode(scanBillCode);

View File

@ -366,6 +366,9 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
// 开始下单 // 开始下单
if(!isOms) { if(!isOms) {
addNewWaybill(emisWaybillSave); addNewWaybill(emisWaybillSave);
// 生成缅甸虚拟单
}else{ }else{
addNewWaybillByOms(emisWaybillSave); addNewWaybillByOms(emisWaybillSave);
} }