1、任务、规则、白名单、策略模板新增更多的分页查询条件
This commit is contained in:
@@ -59,6 +59,15 @@
|
||||
<if test="whiteListId != null">
|
||||
and white_list_id = #{whiteListId}
|
||||
</if>
|
||||
<if test="systemName != null">
|
||||
and white_list_system_name like concat('%', #{systemName}, '%')
|
||||
</if>
|
||||
<if test="auditStatus != null">
|
||||
and white_list_audit_status = #{auditStatus}
|
||||
</if>
|
||||
<if test="creator != null">
|
||||
and create_username = #{creator}
|
||||
</if>
|
||||
</where>
|
||||
LIMIT ${(page - 1) * pageSize}, #{pageSize}
|
||||
</select>
|
||||
@@ -209,6 +218,15 @@
|
||||
<if test="whiteListId != null">
|
||||
and white_list_id = #{whiteListId}
|
||||
</if>
|
||||
<if test="systemName != null">
|
||||
and white_list_system_name like concat('%', #{systemName}, '%')
|
||||
</if>
|
||||
<if test="auditStatus != null">
|
||||
and white_list_audit_status = #{auditStatus}
|
||||
</if>
|
||||
<if test="creator != null">
|
||||
and create_username = #{creator}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user