Commit 260f969d978e9670477d174debf672c6694b837c
1 parent
bed96b6f
fix(workorder): 修复事件信息中设备名称字段映射错误
Showing
2 changed files
with
2 additions
and
2 deletions
urbanops-module-workorder/src/main/java/com/zteits/urbanops/module/workorder/controller/app/eventinfo/AppEventInfoController.java
| ... | ... | @@ -74,7 +74,7 @@ public class AppEventInfoController { |
| 74 | 74 | vo.setCommitDate(LocalDateTime.now()); |
| 75 | 75 | vo.setEvetName(createReqVO.getProblemName()); |
| 76 | 76 | vo.setEventDeviceCode(createReqVO.getDeviceCode()); |
| 77 | - vo.setEventDevice(createReqVO.getDevice()); | |
| 77 | + vo.setEventDevice(createReqVO.getDeviceName()); | |
| 78 | 78 | vo.setLatLonType(3); |
| 79 | 79 | vo.setCreator(createReqVO.getDeviceCode()); |
| 80 | 80 | vo.setRemark(createReqVO.getUserConfrimRemark()); | ... | ... |
urbanops-module-workorder/src/main/java/com/zteits/urbanops/module/workorder/controller/app/eventinfo/vo/OrderEventApiSaveReqVO.java
| ... | ... | @@ -20,7 +20,7 @@ public class OrderEventApiSaveReqVO { |
| 20 | 20 | private String deviceCode; |
| 21 | 21 | |
| 22 | 22 | @Schema(description = "设备名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三") |
| 23 | - private String device; | |
| 23 | + private String deviceName; | |
| 24 | 24 | |
| 25 | 25 | @Schema(description = "用户提交问题描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "你猜") |
| 26 | 26 | @NotEmpty(message = "用户提交问题描述不能为空") | ... | ... |