|
@@ -287,7 +287,7 @@
|
|
|
<if test="dto.endDate != null"> and rda.last_alarm_time <![CDATA[ <= ]]> #{dto.endDate}</if>
|
|
|
<include refid="permissionCondition"/>
|
|
|
</where>
|
|
|
- order by rda.last_alarm_time,rda.id desc
|
|
|
+ order by rda.last_alarm_time desc,rda.id desc
|
|
|
</select>
|
|
|
|
|
|
<update id="deleteByDeviceId">
|