Commit 78e0028c by guojuxing

商户规则列表查询修改

parent 23cf308c
......@@ -114,8 +114,8 @@
</select>
<select id="listRule" parameterType="com.gic.enterprise.dto.rule.RuleEnterpriseDTO">
select t1.rule_name ruleName, count(DISTINCT enterprise_id) countEnterpriseId
from tab_config_rule_enterprise t
select t1.rule_name ruleName, count(DISTINCT t1.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 != '' ">
left join tab_enterprise t3 on t2.enterprise_id = t3.enterprise_id
......
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