1、解决指令按条件查询总数bug

2、动态、静态规则新增批量查询功能
This commit is contained in:
Hao Miao
2024-01-23 23:26:15 +08:00
parent 389483989c
commit 31277b7246
11 changed files with 104 additions and 36 deletions

View File

@@ -224,6 +224,18 @@
</if>
</where>
</select>
<select id="queryDynamicRuleByIds"
resultMap="dynamicRulePageQueryMap">
select *
from t_dynamic_rule
left join t_strategy_template
on t_dynamic_rule.template_id = t_strategy_template.strategy_template_id
where dynamic_rule_id in
<foreach collection="ids" item="id" open="(" separator="," close=")">
#{id}
</foreach>
</select>
</mapper>