告警信息查询信息按时间倒序展示
This commit is contained in:
parent
03db648aee
commit
9eeab30dcf
|
@ -99,6 +99,7 @@ public class WarningListController {
|
|||
queryWrapper.between("capture_time",dateBegin,dateEnd);
|
||||
}
|
||||
}
|
||||
queryWrapper.orderByDesc("capture_time");
|
||||
warningListControllerDao.selectPage(page1,queryWrapper);
|
||||
List<WarningListControllerEntity> warningEntityList = page1.getRecords();
|
||||
long num = page1.getTotal();
|
||||
|
|
|
@ -13,6 +13,6 @@
|
|||
</resultMap>
|
||||
|
||||
<delete id="deleteAll">
|
||||
Delete from tb_task_list where 1=1
|
||||
TRUNCATE TABLE tb_task_list
|
||||
</delete>
|
||||
</mapper>
|
Loading…
Reference in New Issue