Commit d7241523 by zhengxj

finish 过滤字符串 on 20200203 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@26255 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 5f082fa4
......@@ -203,7 +203,8 @@ public class SysUserServiceImpl implements SysUserService {
for (SysMerchant sysMerchant : sysMerchantList) {
//设置省市区
if (StringUtils.isNotEmpty(sysMerchant.getDistrict()) && !"null".equals(sysMerchant.getDistrict())) {
if (StringUtils.isNotEmpty(sysMerchant.getDistrict()) && sysMerchant.getDistrict().matches("[0-9]+")) {
int districtId = Integer.valueOf(sysMerchant.getDistrict());
if (districtId > 100000) {
try {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!