diff --git a/zc-business/src/main/resources/mapper/business/DcDeviceOfflineRecordMapper.xml b/zc-business/src/main/resources/mapper/business/DcDeviceOfflineRecordMapper.xml index 39ee9214..a10a57c1 100644 --- a/zc-business/src/main/resources/mapper/business/DcDeviceOfflineRecordMapper.xml +++ b/zc-business/src/main/resources/mapper/business/DcDeviceOfflineRecordMapper.xml @@ -49,6 +49,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and date_format(create_time,'%Y-%m-%d %H:%i:%s') <= date_format(#{endTime},'%Y-%m-%d %H:%i:%s') + order by id desc