瀏覽代碼

修改客户资料BUG修复

anderx 3 年之前
父節點
當前提交
b0492cd6ba
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

+ 1 - 1
src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

@@ -501,7 +501,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
 				organizationSalesTargetMapper.insertSelective(obs);
 			}
 		}
-		organizationIdentityMapper.updateByPrimaryKey(oi);
+		organizationIdentityMapper.updateByPrimaryKeySelective(oi);
 		userMapper.updateByPrimaryKeySelective(user);
 		return 1;
 	}