|
@@ -105,6 +105,8 @@
|
|
|
WHERE
|
|
|
flag = #{flag}
|
|
|
<if test="appOrg != '10001'">AND b.app_org = #{appOrg}</if>
|
|
|
+ <if test="flag == 0">ORDER BY org_date DESC</if>
|
|
|
+ <if test="flag == 1">ORDER BY handle_date DESC</if>
|
|
|
LIMIT #{pageSize} OFFSET #{page}
|
|
|
</select>
|
|
|
|
|
@@ -150,6 +152,7 @@
|
|
|
WHERE
|
|
|
alert_type = #{alertType}
|
|
|
<if test="appOrg != '10001'">AND b.app_org = #{appOrg}</if>
|
|
|
+ ORDER BY start_time DESC
|
|
|
LIMIT #{pageSize} OFFSET #{page}
|
|
|
</select>
|
|
|
|