Merge pull request 'demand: oms小程序、oms网页端订单录入/修改订单打通tms系统客户地址库,实现小程序/oms下单转运单自动填充对应的企业名称、企业税号' (#171) from develop into master

Reviewed-on: http://git.xdadan.loc/tanex/emis-service/pulls/171
This commit is contained in:
heyu 2025-09-01 14:02:55 +08:00
commit 857ada3d49

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, "企业名称不能包含空格、回车、@、#、$、%、&、数字等特殊符号");