Commit 43e5b38c by 阳浪

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

parent 24452bb2
...@@ -285,10 +285,12 @@ ...@@ -285,10 +285,12 @@
</select> </select>
<!-- 后台管理分页列表 --> <!-- 后台管理分页列表 -->
<select id="listPage" resultMap="BaseResultMap"> <select id="listPage" resultType="com.yizhi.research.application.vo.domain.Research">
select select
<include refid="Base_Column_List"/> <include refid="Base_Column_List"/>,tra.real_count AS realCount
from research tb 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
<where> <where>
tb.site_id = #{range.siteId} and tb.deleted = 0 tb.site_id = #{range.siteId} and tb.deleted = 0
<if test="date !=null and date !='' "> <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