Commit 8138f834 by 阳浪

文件上传

parent 75ca816c
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
<result column="tb_keywords" property="keywords"/> <result column="tb_keywords" property="keywords"/>
<result column="tb_enable_task" property="enableTask" /> <result column="tb_enable_task" property="enableTask" />
<result column="tb_image" property="image" /> <result column="tb_image" property="image" />
<result column="real_count" property="realCount" />
</resultMap> </resultMap>
<!-- 通用查询结果列 --> <!-- 通用查询结果列 -->
...@@ -285,9 +286,9 @@ ...@@ -285,9 +286,9 @@
</select> </select>
<!-- 后台管理分页列表 --> <!-- 后台管理分页列表 -->
<select id="listPage" resultType="com.yizhi.research.application.vo.domain.Research"> <select id="listPage" resultMap="BaseResultMap">
select select
<include refid="Base_Column_List"/>,tra.real_count AS realCount <include refid="Base_Column_List"/>,tra.real_count
from research tb 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
group by research_id) tra on tb.id = tra.research_id group by research_id) tra on tb.id = tra.research_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