perf: 增加测温保存最高温度和最低温度

dev
huangfeng 2 months ago
parent 083c4ec602
commit 0e143215e4

@ -95,6 +95,18 @@ public class CwzzTemperature extends Pojo implements Serializable {
@FieldName("tmp") @FieldName("tmp")
private String tmp; private String tmp;
/**
*
*/
@FieldName("max_tmp")
private String maxTmp;
/**
*
*/
@FieldName("min_tmp")
private String minTmp;
/** /**
* ID * ID
*/ */

@ -94,6 +94,18 @@ public class CwzzTemperatureVo implements Serializable {
@ExcelAnnotation(exportName = "温度(℃)") @ExcelAnnotation(exportName = "温度(℃)")
private String tmp; private String tmp;
/**
*
*/
@ExcelAnnotation(exportName = "最高温度(℃)")
private String maxTmp;
/**
*
*/
@ExcelAnnotation(exportName = "最低温度(℃)")
private String minTmp;
/** /**
* CAC 17 * CAC 17
*/ */

@ -6,6 +6,8 @@
t.phase as phase, t.phase as phase,
t.site_id as siteId, t.site_id as siteId,
t.tmp as tmp, t.tmp as tmp,
t.max_tmp as maxTmp,
t.min_tmp as minTmp,
t.sensor_id as sensorId, t.sensor_id as sensorId,
t.time_stamp as timeStamp, t.time_stamp as timeStamp,
t.main_tree_id as mainTreeId, t.main_tree_id as mainTreeId,

Loading…
Cancel
Save