1、动态、静态规则、任务、白名单、防护对象、策略模板的查询总数增加了条件
2、指令分页查询还有bug
This commit is contained in:
@@ -209,6 +209,20 @@
|
||||
<select id="queryDynamicRuleTotalNum" resultType="java.lang.Integer">
|
||||
SELECT COUNT(*)
|
||||
FROM t_dynamic_rule
|
||||
<where>
|
||||
<if test="dynamicRuleName != null">
|
||||
t_dynamic_rule.dynamic_rule_name like concat('%', #{dynamicRuleName}, '%')
|
||||
</if>
|
||||
<if test="dynamicRuleId != null">
|
||||
and t_dynamic_rule.dynamic_rule_id = #{dynamicRuleId}
|
||||
</if>
|
||||
<if test="sourceSystem != null">
|
||||
and t_strategy_template.strategy_template_source_system = #{sourceSystem}
|
||||
</if>
|
||||
<if test="creator != null">
|
||||
and t_dynamic_rule.dynamic_rule_create_username = #{creator}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user