Browse Source

fix:修改指令返回字段

zhongwei
wangyinsheng 2 months ago
parent
commit
cae9bf350f
  1. 3
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/dto/DeviceAttrDTO.java
  2. 1
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/service/DataRecordService.java

3
hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/dto/DeviceAttrDTO.java

@ -22,9 +22,6 @@ public class DeviceAttrDTO {
@ApiModelProperty("遥控的设备ID") @ApiModelProperty("遥控的设备ID")
private String deviceId; private String deviceId;
@ApiModelProperty("用于展示和匹配的全称,一般可设为 站点名称-遥控名称")
private String itemName;
@ApiModelProperty("记录名称") @ApiModelProperty("记录名称")
private String recordName; private String recordName;

1
hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/service/DataRecordService.java

@ -92,7 +92,6 @@ public class DataRecordService extends BaseServiceImpl<DataRecordMapper, DataRec
deviceAttrDTO.setRecordName(deviceAttr.getName()); deviceAttrDTO.setRecordName(deviceAttr.getName());
deviceAttrDTO.setItemId(deviceAttr.getSignage()); deviceAttrDTO.setItemId(deviceAttr.getSignage());
deviceAttrDTO.setRule(deviceAttr.getRule()); deviceAttrDTO.setRule(deviceAttr.getRule());
deviceAttrDTO.setItemName(deviceAttr.getItemName());
deviceAttrDTOS.add(deviceAttrDTO); deviceAttrDTOS.add(deviceAttrDTO);
} }
} }

Loading…
Cancel
Save