Merge branch 'master' of http://git.xdadan.loc/tanex/emis-service
This commit is contained in:
commit
ad9c95582b
@ -2844,8 +2844,7 @@ public class EmisBaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (("078".equals(waybill.getTransLineType()) || "002".equals(waybill.getTransLineType())) && StringUtil.isNotBlank(waybill.getVirtualRemark())) {
|
if ("002".equals(waybill.getTransLineType()) && StringUtil.isNotBlank(waybill.getVirtualRemark())) { Date sendDate = waybill.getSendDate();
|
||||||
Date sendDate = waybill.getSendDate();
|
|
||||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||||
Date limitDate = null;
|
Date limitDate = null;
|
||||||
try {
|
try {
|
||||||
@ -4865,6 +4864,9 @@ public class EmisBaseService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void scanProblemInfo(EmisWaybill emisWaybillSave, EmisWaybill emisWaybillOld) {
|
public void scanProblemInfo(EmisWaybill emisWaybillSave, EmisWaybill emisWaybillOld) {
|
||||||
|
if ("078".equals(emisWaybillSave.getTransLineType())) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
String dispatchOrSendManCode = "";
|
String dispatchOrSendManCode = "";
|
||||||
if ("1".equals(emisWaybillSave.getPickupMethod())) {
|
if ("1".equals(emisWaybillSave.getPickupMethod())) {
|
||||||
dispatchOrSendManCode = emisWaybillSave.getOperateEmployeeCode();
|
dispatchOrSendManCode = emisWaybillSave.getOperateEmployeeCode();
|
||||||
@ -4878,7 +4880,7 @@ public class EmisBaseService {
|
|||||||
|
|
||||||
Map<String, Object> scanDatePromItem = new HashMap<>();
|
Map<String, Object> scanDatePromItem = new HashMap<>();
|
||||||
scanDatePromItem.put("billCode", emisWaybillSave.getBillCode());
|
scanDatePromItem.put("billCode", emisWaybillSave.getBillCode());
|
||||||
if ("078".equals(emisWaybillSave.getTransLineType()) || "002".equals(emisWaybillSave.getTransLineType())) {
|
if ("002".equals(emisWaybillSave.getTransLineType())) {
|
||||||
scanDatePromItem.put("problemType", "173");
|
scanDatePromItem.put("problemType", "173");
|
||||||
scanDatePromItem.put("remark", "出口虚拟面单");
|
scanDatePromItem.put("remark", "出口虚拟面单");
|
||||||
} else {
|
} else {
|
||||||
@ -4983,7 +4985,9 @@ public class EmisBaseService {
|
|||||||
String virtualRemark = String.join(",", filterVirtualRemark);
|
String virtualRemark = String.join(",", filterVirtualRemark);
|
||||||
masterWaybill.setVirtualRemark(virtualRemark);
|
masterWaybill.setVirtualRemark(virtualRemark);
|
||||||
emisWaybillMapper.updateEmisWaybill(masterWaybill);
|
emisWaybillMapper.updateEmisWaybill(masterWaybill);
|
||||||
emisWaybillProblemInfoService.deleteEmisWaybillProblemInfoByBillCode(emisWaybillSave.getBillCode());
|
if (!"078".equals(emisWaybillSave.getTransLineType())) {
|
||||||
|
emisWaybillProblemInfoService.deleteEmisWaybillProblemInfoByBillCode(emisWaybillSave.getBillCode());
|
||||||
|
}
|
||||||
// 重新计算提成
|
// 重新计算提成
|
||||||
emisCommissionProfitService.reCalcProfitByBillCode(emisWaybillSave.getBillCode());
|
emisCommissionProfitService.reCalcProfitByBillCode(emisWaybillSave.getBillCode());
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user