md
This commit is contained in:
parent
fdf1226c35
commit
e3b8af2072
@ -2398,7 +2398,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 如果是孟加拉单子,把运单号变为 12位
|
// 如果是孟加拉单子,把运单号变为 12位
|
||||||
if("0880".equals(emisWaybillSave.getReceiveCountry())){
|
if("0880".equals(emisWaybillSave.getReceiveCountry()) || "0880".equals(emisWaybillSave.getSendCountry())){
|
||||||
if(emisWaybillSave.getBillCode().length()==14 && emisWaybillSave.getBillCode().startsWith("T7080")){
|
if(emisWaybillSave.getBillCode().length()==14 && emisWaybillSave.getBillCode().startsWith("T7080")){
|
||||||
String str =emisWaybillSave.getBillCode();
|
String str =emisWaybillSave.getBillCode();
|
||||||
String prefix=str.substring(0,6);
|
String prefix=str.substring(0,6);
|
||||||
@ -2556,7 +2556,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
emisWaybillSave.setOrderType("0");
|
emisWaybillSave.setOrderType("0");
|
||||||
|
|
||||||
// 如果是孟加拉单子,把运单号变为 12位
|
// 如果是孟加拉单子,把运单号变为 12位
|
||||||
if("0880".equals(emisWaybillSave.getReceiveCountry())){
|
if("0880".equals(emisWaybillSave.getReceiveCountry()) || "0880".equals(emisWaybillSave.getSendCountry())){
|
||||||
if(emisWaybillSave.getBillCode().length()==14 && emisWaybillSave.getBillCode().startsWith("T7080")){
|
if(emisWaybillSave.getBillCode().length()==14 && emisWaybillSave.getBillCode().startsWith("T7080")){
|
||||||
String str =emisWaybillSave.getBillCode();
|
String str =emisWaybillSave.getBillCode();
|
||||||
String prefix=str.substring(0,6);
|
String prefix=str.substring(0,6);
|
||||||
@ -2626,7 +2626,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
private void addNewWaybillByApi(EmisWaybill emisWaybillSave) throws EmisBizError {
|
private void addNewWaybillByApi(EmisWaybill emisWaybillSave) throws EmisBizError {
|
||||||
|
|
||||||
// 如果是孟加拉单子,把运单号变为 12位
|
// 如果是孟加拉单子,把运单号变为 12位
|
||||||
if("0880".equals(emisWaybillSave.getReceiveCountry())){
|
if("0880".equals(emisWaybillSave.getReceiveCountry()) || "0880".equals(emisWaybillSave.getSendCountry())){
|
||||||
if(emisWaybillSave.getBillCode().length()==14 && emisWaybillSave.getBillCode().startsWith("T7080")){
|
if(emisWaybillSave.getBillCode().length()==14 && emisWaybillSave.getBillCode().startsWith("T7080")){
|
||||||
String str =emisWaybillSave.getBillCode();
|
String str =emisWaybillSave.getBillCode();
|
||||||
String prefix=str.substring(0,6);
|
String prefix=str.substring(0,6);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user