Commit 75ca816c by 阳浪

今日登党务直通收藏量(人)

parent 43e5b38c
......@@ -289,8 +289,8 @@
select
<include refid="Base_Column_List"/>,tra.real_count AS realCount
from research tb
(SELECT research_id,count(1) real_count FROM cloud_research.tr_research_answer x
group by research_id) on tb.id = tra.research_id
left join (SELECT research_id,count(1) real_count FROM cloud_research.tr_research_answer x
group by research_id) tra on tb.id = tra.research_id
<where>
tb.site_id = #{range.siteId} and tb.deleted = 0
<if test="date !=null and date !='' ">
......
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