页面优化

dev
schry 2 years ago
parent f89247401a
commit 5fe7fb4067

@ -12,6 +12,8 @@ public class FilterAuthUserRequest extends ListPageRequest {
private String userName; private String userName;
private String deptName;
private Integer userFlag; private Integer userFlag;
private Long roleId; private Long roleId;

@ -7,6 +7,6 @@ import lombok.Data;
public class FilterDeptUserReqeust extends ListPageRequest { public class FilterDeptUserReqeust extends ListPageRequest {
private Long deptId; private Long deptId;
private Long userId; private Long userId;
private String deptName;
private String key; private String key;
} }

@ -23,6 +23,12 @@
<if test="neUserName != null and '' != neUserName"> <if test="neUserName != null and '' != neUserName">
AND userName != #{neUserName} AND userName != #{neUserName}
</if> </if>
<if test="deptName != null and '' != deptName">
AND auth_dept.name LIKE CONCAT('%', #{deptName}, '%')
</if>
<if test="deptName != null and '' != deptName">
AND auth_dept.name != #{deptName}
</if>
<if test="lastUpdateTime != null and lastUpdateTime != ''"> <if test="lastUpdateTime != null and lastUpdateTime != ''">
<![CDATA[ <![CDATA[
and DATE_FORMAT(lastModifyTime and DATE_FORMAT(lastModifyTime

@ -45,7 +45,7 @@
) )
</if> </if>
<if test="outType != null"> <if test="outType != null">
AND (outType <![CDATA[ <> ]]> #{outType} or outType is NULL) AND (outType = #{outType} or outType is NULL)
</if> </if>
<if test="lastUpdateTime != null and lastUpdateTime != ''"> <if test="lastUpdateTime != null and lastUpdateTime != ''">
<![CDATA[ <![CDATA[

Loading…
Cancel
Save