demand: 客户管理-月结客户-新增批量导入企业名称、企业税号接口

committer: heyu
This commit is contained in:
aike 2025-08-28 11:45:55 +08:00
parent 5a89d660f8
commit 2c035c479b
2 changed files with 8 additions and 4 deletions

View File

@ -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(" ");
}
}

View File

@ -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();