From ad87142a878c83e58501c260afb41fa6a3a34f6c Mon Sep 17 00:00:00 2001 From: wenjy Date: Fri, 8 Apr 2022 15:16:52 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E5=8E=86=E5=8F=B2=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/system/service/impl/RecordSensorDataServiceImpl.java | 1 - .../src/main/resources/mapper/system/RecordSensorDataMapper.xml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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