Commit f232233c authored by caotao's avatar caotao

mysql及influxdb新增pictureName字段

parent a13937f5
...@@ -47,6 +47,6 @@ public class MonitorFanIndicator extends BaseEntity { ...@@ -47,6 +47,6 @@ public class MonitorFanIndicator extends BaseEntity {
private String equipmentNumber; //设备编号 private String equipmentNumber; //设备编号
@TableField("data_type") @TableField("data_type")
private String dataType; //设备编号 private String dataType; //设备编号
@TableField("picture_name")
private String pictureName; //图片名称用于动态展示图片
} }
...@@ -177,6 +177,7 @@ public class DemoController extends BaseController { ...@@ -177,6 +177,7 @@ public class DemoController extends BaseController {
maps2.put("equipmentNumber", ""); maps2.put("equipmentNumber", "");
maps2.put("frontModule", ""); maps2.put("frontModule", "");
maps2.put("systemType", ""); maps2.put("systemType", "");
maps2.put("pictureName", monitorFanIndicator.getPictureName());
// 升压站的字段显示名称 // 升压站的字段显示名称
maps2.put("displayName", monitorFanIndicator.getEquipmentNumber()); maps2.put("displayName", monitorFanIndicator.getEquipmentNumber());
if (!ObjectUtils.isEmpty(monitorFanIndicator.getFrontModule())) { if (!ObjectUtils.isEmpty(monitorFanIndicator.getFrontModule())) {
......
...@@ -26,6 +26,7 @@ public class IndicatorsDto { ...@@ -26,6 +26,7 @@ public class IndicatorsDto {
private String distinct; private String distinct;
private String time; private String time;
private String displayName; private String displayName;
private String pictureName;
private String title; private String title;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment