Commit a54bb225 by 阳浪

4.21bug优化

parent 3c091ebf
......@@ -202,7 +202,10 @@
</if>
WHERE a.research_id=#{researchId} AND a.company_id=#{companyId} AND a.site_id=#{siteId} AND a.deleted=0
GROUP BY b.question_id
GROUP BY r.id,r.name,a.id,a.no,a.content_appendix_url,b.content, a.keywords,r.vote_num
<if test="isTop == null or isTop == false" >
,IFNULL(myanswer.answerState,0)
</if>
<if test="isTop != null and isTop == true" >
ORDER BY COUNT(c.id) DESC,MIN(c.create_time)
</if>
......
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