Browse Source

修改客户资料BUG修复

anderx 3 years ago
parent
commit
b0492cd6ba

+ 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;
 	}