修改供应商纳税人识别号验证规则,不允许超过18位

This commit is contained in:
476474485@qq.com 2025-03-25 10:12:35 +08:00
parent f51235e6ed
commit 4c808ccb40
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ public class WsCustomerSynchronizationEventServiceImpl extends BaseService<WsCus
} else {
requestJson = new JSONObject();
if(null != field0007 && !"".equals(field0007)){
if(field0007.trim().length()>=18){
if(field0007.trim().length()>18){
return BaseResult.getFailureMessageEntity("纳税人识别号不允许超过18位");
}
requestJson.put("taxpayer", field0007.trim());