Commit fb4f4c8d by pansy

bug: [none] 一对多去重复

parent f7e28022
...@@ -332,7 +332,7 @@ ...@@ -332,7 +332,7 @@
<if test="rightsClassifyId!=null"> <if test="rightsClassifyId!=null">
AND news.rights_classify_id =#{rightsClassifyId} AND news.rights_classify_id =#{rightsClassifyId}
</if> </if>
group by n.id group by news.id
ORDER BY ORDER BY
news.update_time DESC news.update_time DESC
LIMIT #{top} LIMIT #{top}
......
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