|
|
@@ -353,7 +353,7 @@ public class UserService {
|
|
|
}
|
|
|
User user = new User();
|
|
|
BeanUtils.copyProperties(req, user);
|
|
|
- if(StringUtils.isEmpty(user.getPassword())) {
|
|
|
+ if(!StringUtils.isEmpty(user.getPassword())) {
|
|
|
user.setPassword(MD5Util.encode32(user.getPassword()));
|
|
|
}
|
|
|
userMapper.updateByPrimaryKeySelective(user);
|