|
@@ -30,7 +30,7 @@
|
|
FROM hy_news_info
|
|
FROM hy_news_info
|
|
WHERE delete_flag = '0'
|
|
WHERE delete_flag = '0'
|
|
AND re_common_id = #{commonId}
|
|
AND re_common_id = #{commonId}
|
|
- ORDER BY news_flag asc ,create_date DESC
|
|
|
|
|
|
+ ORDER BY create_date DESC
|
|
<if test="currentPage != null and currentPage != ''">
|
|
<if test="currentPage != null and currentPage != ''">
|
|
LIMIT ${startRecord}, ${pageSize}
|
|
LIMIT ${startRecord}, ${pageSize}
|
|
</if>
|
|
</if>
|