Commit 0af646d5 by “Kongxiangkun”

修改问卷管理列表调研参与人数与导出调研明细中参与人数不一致问题

parent 8228640a
......@@ -288,7 +288,7 @@
select
<include refid="Base_Column_List"/>,tra.real_count
from research tb
left join (SELECT research_id,count(1) real_count FROM cloud_research.tr_research_answer x
left join (SELECT research_id,count(1) real_count FROM cloud_research.tr_research_answer x where finish = 1
group by research_id) tra on tb.id = tra.research_id
<where>
tb.site_id = #{range.siteId} and tb.deleted = 0
......
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