md
This commit is contained in:
parent
12bf26e82a
commit
26c06cbc53
@ -2292,11 +2292,24 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
}
|
||||
}
|
||||
|
||||
// 如果是孟加拉单子,把运单号变为 12位
|
||||
if("0880".equals(emisWaybillSave.getReceiveCountry())){
|
||||
if(emisWaybillSave.getBillCode().length()==14 && emisWaybillSave.getBillCode().startsWith("T7080")){
|
||||
String str =emisWaybillSave.getBillCode();
|
||||
String prefix=str.substring(0,6);
|
||||
String other = str.substring(8);
|
||||
|
||||
String billCode=prefix+other;
|
||||
emisWaybillSave.setBillCode(billCode);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// 公共计算部分
|
||||
calcWayBillCommonInfo(emisWaybillSave,null,true);
|
||||
|
||||
|
||||
|
||||
//补齐数据
|
||||
emisWaybillMapper.insertEmisWaybill(emisWaybillSave);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user