소스 검색

修改客户资料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;
 	}