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位数字和大写字母组成,不能包含汉字、空格等特殊符号");
|
||||
}
|
||||
} else {
|
||||
emisCustomerAddressNew.setEnterpriseName(null);
|
||||
emisCustomerAddressNew.setEnterpriseTaxId(null);
|
||||
emisCustomerAddressNew.setEnterpriseName(" ");
|
||||
emisCustomerAddressNew.setEnterpriseTaxId(" ");
|
||||
}
|
||||
} else {
|
||||
emisCustomerAddressNew.setEnterpriseName(null);
|
||||
emisCustomerAddressNew.setEnterpriseTaxId(null);
|
||||
emisCustomerAddressNew.setEnterpriseName(" ");
|
||||
emisCustomerAddressNew.setEnterpriseTaxId(" ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -2496,6 +2496,10 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
if(isNew) {
|
||||
emisWaybillSave.setOrderDate(emisWaybillSave.getSendDate());
|
||||
}
|
||||
if (!"0086".equals(emisWaybillSave.getSendCounty())) {
|
||||
emisWaybillSave.setEnterpriseName(" ");
|
||||
emisWaybillSave.setEnterpriseTaxId(" ");
|
||||
}
|
||||
|
||||
// 发件地址
|
||||
EmisCustomerAddress sendAddress = new EmisCustomerAddress();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user