Browse Source

fix:修改指令返回字段

zhongwei
wangyinsheng 2 months ago
parent
commit
511224e947
  1. 4
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/dto/DeviceFuncDTO.java
  2. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/service/DataInstructService.java

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

@ -22,7 +22,7 @@ public class DeviceFuncDTO {
@ApiModelProperty("遥控的设备ID")
private String deviceId;
@ApiModelProperty("用于展示和匹配的全称,一般可设为 站点名称-遥控名称")
private String itemName;
@ApiModelProperty("遥控名称")
private String ykName;
}

2
hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/service/DataInstructService.java

@ -61,7 +61,7 @@ public class DataInstructService extends BaseServiceImpl<DataInstructMapper, Dat
deviceFuncDTO.setDeviceId(deviceFunc.getDeviceId());
deviceFuncDTO.setDeviceName(deviceFunc.getDeviceName());
deviceFuncDTO.setItemId(deviceFunc.getSignage());
deviceFuncDTO.setItemName(deviceFunc.getItemName());
deviceFuncDTO.setYkName(deviceFunc.getName());
deviceFuncDTO.setStationName(deviceFunc.getProjectName());
deviceFuncDTO.setStationId(deviceFunc.getProjectId());
deviceFuncDTOS.add(deviceFuncDTO);

Loading…
Cancel
Save