@Override public int changePassword(UserInfo userInfo) { userInfo.setUserPassword(MD5Util.MD5(userInfo.getUserPassword())); return userInfoMapper.changePassword(userInfo); }
@Override public int addUserInfo(UserInfo userInfo) { userInfo.setUserPassword(MD5Util.MD5(userInfo.getUserPassword())); return userInfoMapper.addUserInfo(userInfo); }