change - 历史数据记录

main
wenjy 3 years ago
parent dbea7f549c
commit ad87142a87

@ -22,7 +22,6 @@ public class RecordSensorDataServiceImpl implements IRecordSensorDataService {
@Override
public List<Map<String, Object>> selectSensorDataList(BaseSensorInfoDto baseSensorInfoDto) {
System.out.println("打印表名:"+baseSensorInfoDto.getTableName());
return recordSensorDataMapper.selectSensorDataList(baseSensorInfoDto);
}
}

@ -33,6 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="params.beginCollectTime != null and params.endCollectTime != null ">and collectTime between #{params.beginCollectTime} and #{params.endCollectTime}
</if>
</where>
order by collectTime desc
</select>

Loading…
Cancel
Save