|
|
@@ -254,11 +254,12 @@
|
|
|
<!-- order by update_date desc-->
|
|
|
<select id="moreReportList" parameterType="com.jeesite.modules.report.entity.ResearchReport"
|
|
|
resultType="com.jeesite.modules.report.entity.ResearchReport">
|
|
|
- select id,title,web_title
|
|
|
- from research_report
|
|
|
- where id != #{rr.id} and status ='0' and lang = #{rr.lang} and market_type = #{rr.marketType}
|
|
|
+ select b.id,b.title,b.web_title,b.publish_date,c.name fileName
|
|
|
+ from research_report b
|
|
|
+ left join report_attachment c on c.report_code = b.market_type and c.lang = b.lang and c.status = '0'
|
|
|
+ where b.id != #{rr.id} and b.status ='0' and b.lang = #{rr.lang} and b.market_type = #{rr.marketType}
|
|
|
|
|
|
- limit 0,8
|
|
|
+ limit 0,8
|
|
|
</select>
|
|
|
|
|
|
<select id="findListByIdArr" parameterType="java.lang.String"
|