demand: 客户管理-月结客户-新增批量导入企业名称、企业税号接口
committer: heyu
This commit is contained in:
parent
5a89d660f8
commit
2c035c479b
@ -3600,12 +3600,12 @@ public class EmisBaseService {
|
|||||||
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR, "企业税号必须为8-18位数字和大写字母组成,不能包含汉字、空格等特殊符号");
|
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR, "企业税号必须为8-18位数字和大写字母组成,不能包含汉字、空格等特殊符号");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
emisCustomerAddressNew.setEnterpriseName(null);
|
emisCustomerAddressNew.setEnterpriseName(" ");
|
||||||
emisCustomerAddressNew.setEnterpriseTaxId(null);
|
emisCustomerAddressNew.setEnterpriseTaxId(" ");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
emisCustomerAddressNew.setEnterpriseName(null);
|
emisCustomerAddressNew.setEnterpriseName(" ");
|
||||||
emisCustomerAddressNew.setEnterpriseTaxId(null);
|
emisCustomerAddressNew.setEnterpriseTaxId(" ");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -2496,6 +2496,10 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
if(isNew) {
|
if(isNew) {
|
||||||
emisWaybillSave.setOrderDate(emisWaybillSave.getSendDate());
|
emisWaybillSave.setOrderDate(emisWaybillSave.getSendDate());
|
||||||
}
|
}
|
||||||
|
if (!"0086".equals(emisWaybillSave.getSendCounty())) {
|
||||||
|
emisWaybillSave.setEnterpriseName(" ");
|
||||||
|
emisWaybillSave.setEnterpriseTaxId(" ");
|
||||||
|
}
|
||||||
|
|
||||||
// 发件地址
|
// 发件地址
|
||||||
EmisCustomerAddress sendAddress = new EmisCustomerAddress();
|
EmisCustomerAddress sendAddress = new EmisCustomerAddress();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user