Commit 75e91158 by huangjinxin

fix:用户修改处理

1 parent 1f5b67b0
......@@ -135,6 +135,6 @@ public class UserInfo {
/**
* 是否正常 0: 否 1:是 默认1
*/
private Integer status = 1;
private Integer status;
}
......@@ -662,6 +662,18 @@ public class UserService {
if (StringUtils.isNotBlank(formUserInfo.getRegion())) {
toUserEntity.setRegion(formUserInfo.getRegion());
}
if (ObjectUtil.isNotNull(formUserInfo.getStatus())) {
toUserEntity.setStatus(formUserInfo.getStatus());
}
if (ObjectUtil.isNotNull(formUserInfo.getSource())) {
toUserEntity.setSource(formUserInfo.getSource());
}
if (StringUtils.isNotBlank(formUserInfo.getNotes())) {
toUserEntity.setNotes(formUserInfo.getNotes());
}
if (StringUtils.isNotBlank(formUserInfo.getEngineerCode())) {
toUserEntity.setEngineerCode(formUserInfo.getEngineerCode());
}
toUserEntity.setSex(formUserInfo.getSex());
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!