demand: oms小程序、oms网页端订单录入/修改订单打通tms系统客户地址库,实现小程序/oms下单转运单自动填充对应的企业名称、企业税号

committer: heyu
This commit is contained in:
aike 2025-09-01 14:01:58 +08:00
parent 16d3154a7b
commit 26b6abe7fb

View File

@ -3598,6 +3598,7 @@ public class EmisBaseService {
if (StringUtil.isBlank(emisCustomerAddressNew.getEnterpriseTaxId()) || StringUtil.isBlank(emisCustomerAddressNew.getEnterpriseName())) {
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1, "企业名称/企业税号不能为空");
}
// 验证企业名称格式
if (!validateEnterpriseName(emisCustomerAddressNew.getEnterpriseName())) {
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR, "企业名称不能包含空格、回车、@、#、$、%、&、数字等特殊符号");