|
|
@@ -162,6 +162,11 @@
|
|
|
</if>
|
|
|
|
|
|
</if>
|
|
|
+ <if test="param.sortflag !=null and param.sortflag != ''">
|
|
|
+ <if test=" param.sortflag == 1">
|
|
|
+ and t1.IS_HOT=1
|
|
|
+ </if>
|
|
|
+ </if>
|
|
|
AND (
|
|
|
t1.AUTH_TYPE ='0'
|
|
|
<if test="param.privacyList !=null and param.privacyList.size()>0">
|
|
|
@@ -176,7 +181,8 @@
|
|
|
order by t1.CREATE_TIME desc
|
|
|
</if>
|
|
|
<if test=" param.sortflag == 1">
|
|
|
- ORDER BY t1.IS_HOT=1 DESC, t1.VIEW_COUNT DESC
|
|
|
+-- ORDER BY t1.IS_HOT=1 DESC, t1.VIEW_COUNT DESC
|
|
|
+ ORDER BY t1.VIEW_COUNT DESC
|
|
|
</if>
|
|
|
</if>
|
|
|
</select>
|