diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/RecordSensorDataServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/RecordSensorDataServiceImpl.java index 74cbfe5..a3d45da 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/RecordSensorDataServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/RecordSensorDataServiceImpl.java @@ -22,7 +22,6 @@ public class RecordSensorDataServiceImpl implements IRecordSensorDataService { @Override public List> selectSensorDataList(BaseSensorInfoDto baseSensorInfoDto) { - System.out.println("打印表名:"+baseSensorInfoDto.getTableName()); return recordSensorDataMapper.selectSensorDataList(baseSensorInfoDto); } } diff --git a/ruoyi-system/src/main/resources/mapper/system/RecordSensorDataMapper.xml b/ruoyi-system/src/main/resources/mapper/system/RecordSensorDataMapper.xml index 37b0c0c..94ad7a8 100644 --- a/ruoyi-system/src/main/resources/mapper/system/RecordSensorDataMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/RecordSensorDataMapper.xml @@ -33,6 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and collectTime between #{params.beginCollectTime} and #{params.endCollectTime} + order by collectTime desc