Commit 5f082fa4 by zhengxj

finish 处理非法数据 on 20200330 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@26243 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 6a837104
......@@ -413,6 +413,9 @@ public class SysUserServiceImpl implements SysUserService {
@Transactional(rollbackFor = Exception.class)
public int saveSysMerchant(SysMerchant sysMerchant, OrderClient orderClient) {
Integer userId = 0;
if ("null".equals(sysMerchant.getDistrict())) {
sysMerchant.setDistrict(null);
}
try {
if (sysMerchant.getId() == null || sysMerchant.getId() == 0) {
// 新增商户
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!