This commit is contained in:
linfso 2024-10-23 11:40:38 +08:00
parent fdf1226c35
commit e3b8af2072

View File

@ -2398,7 +2398,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
}
// 如果是孟加拉单子,把运单号变为 12位
if("0880".equals(emisWaybillSave.getReceiveCountry())){
if("0880".equals(emisWaybillSave.getReceiveCountry()) || "0880".equals(emisWaybillSave.getSendCountry())){
if(emisWaybillSave.getBillCode().length()==14 && emisWaybillSave.getBillCode().startsWith("T7080")){
String str =emisWaybillSave.getBillCode();
String prefix=str.substring(0,6);
@ -2556,7 +2556,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
emisWaybillSave.setOrderType("0");
// 如果是孟加拉单子,把运单号变为 12位
if("0880".equals(emisWaybillSave.getReceiveCountry())){
if("0880".equals(emisWaybillSave.getReceiveCountry()) || "0880".equals(emisWaybillSave.getSendCountry())){
if(emisWaybillSave.getBillCode().length()==14 && emisWaybillSave.getBillCode().startsWith("T7080")){
String str =emisWaybillSave.getBillCode();
String prefix=str.substring(0,6);
@ -2626,7 +2626,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
private void addNewWaybillByApi(EmisWaybill emisWaybillSave) throws EmisBizError {
// 如果是孟加拉单子,把运单号变为 12位
if("0880".equals(emisWaybillSave.getReceiveCountry())){
if("0880".equals(emisWaybillSave.getReceiveCountry()) || "0880".equals(emisWaybillSave.getSendCountry())){
if(emisWaybillSave.getBillCode().length()==14 && emisWaybillSave.getBillCode().startsWith("T7080")){
String str =emisWaybillSave.getBillCode();
String prefix=str.substring(0,6);