Пример #1
0
 @Override
 public int changePassword(UserInfo userInfo) {
   userInfo.setUserPassword(MD5Util.MD5(userInfo.getUserPassword()));
   return userInfoMapper.changePassword(userInfo);
 }
Пример #2
0
 @Override
 public int addUserInfo(UserInfo userInfo) {
   userInfo.setUserPassword(MD5Util.MD5(userInfo.getUserPassword()));
   return userInfoMapper.addUserInfo(userInfo);
 }