Commit f96298ae by guojuxing

商户规则列表查询修改

parent 78e0028c
......@@ -114,7 +114,7 @@
</select>
<select id="listRule" parameterType="com.gic.enterprise.dto.rule.RuleEnterpriseDTO">
select t1.rule_name ruleName, count(DISTINCT t1.enterprise_id) countEnterpriseId
select t1.rule_name ruleName, count(DISTINCT t2.enterprise_id) countEnterpriseId
from tab_config_rule_enterprise t1
left join tab_config_rule_enterprise_rel t2 on t1.enterprise_rule_id = t2.enterprise_rule_id
<if test="search != null and search != '' ">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment