xiatian před 2 roky
rodič
revize
0d433d0a22

+ 1 - 1
src/main/java/cn/com/qmth/mps/service/impl/UserServiceImpl.java

@@ -105,7 +105,7 @@ public class UserServiceImpl extends ServiceImpl<UserDao, UserEntity> implements
 			}
 			ue = new UserEntity();
 			ue.setPassword(ByteUtil.toHexAscii(SHA256.encode(domain.getPasswd())));
-			ue.setSchoolId(user.getSchoolId());
+			ue.setSchoolId(domain.getSchoolId());
 			ue.setEnable(true);
 			ue.setLoginName(domain.getLoginName());
 		}