@@ -21,16 +21,19 @@ public class SysUserUpdPara {
/**
* 姓名
*/
+ @NotBlank(message = "姓名不能为空")
private String name;
* 性别0未知1男2女
+ @NotNull(message = "性别不能为空")
private Integer sex;
* 联系电话
+ @NotBlank(message = "联系电话不能为空")
private String phone;
@@ -49,6 +49,7 @@
<if test="username != null and username != ''">
and su.username = #{username,jdbcType=VARCHAR}
</if>
+ and su.del_flag = 0
limit 1
</where>
</select>