提交 9ee96e21 authored 作者: zhoushaopan's avatar zhoushaopan

feat(维修模块,退回模块): 修改clearTaskVo中的设备状态

修改clearTaskVo中的设备状态
上级 783996aa
...@@ -775,7 +775,7 @@ public class BackController { ...@@ -775,7 +775,7 @@ public class BackController {
ids.add(id); ids.add(id);
//改变装备状态 //改变装备状态
DeviceLibrary deviceLibraryEntity = deviceLibraryService.getOne(id); DeviceLibrary deviceLibraryEntity = deviceLibraryService.getOne(id);
deviceLibraryEntity.setLifeStatus(3); deviceLibraryEntity.setLifeStatus(2);
deviceLibraryEntity.setManageStatus(0); deviceLibraryEntity.setManageStatus(0);
deviceLibraryEntity.setOwnUnit(allotBackBill.getReceiveUnit()); deviceLibraryEntity.setOwnUnit(allotBackBill.getReceiveUnit());
deviceLibraryEntity.setLocationUnit(allotBackBill.getReceiveUnit()); deviceLibraryEntity.setLocationUnit(allotBackBill.getReceiveUnit());
......
...@@ -173,7 +173,6 @@ public class RepairDetailServiceImpl implements RepairDetailService { ...@@ -173,7 +173,6 @@ public class RepairDetailServiceImpl implements RepairDetailService {
List<Task> tasks = taskList.stream().filter(task -> task.getParentTaskId() == null).collect(Collectors.toList()); List<Task> tasks = taskList.stream().filter(task -> task.getParentTaskId() == null).collect(Collectors.toList());
ClearTaskVo clearTaskVo = new ClearTaskVo(); ClearTaskVo clearTaskVo = new ClearTaskVo();
clearTaskVo.setTaskId(tasks.get(0).getId()); clearTaskVo.setTaskId(tasks.get(0).getId());
billVo.setBillStatus(tasks.get(0).getBillStatus());
billVos.add(billVo); billVos.add(billVo);
clearTaskVo.setBillVos(billVos); clearTaskVo.setBillVos(billVos);
clearTaskVos.add(clearTaskVo); clearTaskVos.add(clearTaskVo);
......
...@@ -37,6 +37,6 @@ public class BillVo { ...@@ -37,6 +37,6 @@ public class BillVo {
@ApiModelProperty(value = "可见范围") @ApiModelProperty(value = "可见范围")
private String invisibleRangeName; private String invisibleRangeName;
@ApiModelProperty(value = "业务状态") @ApiModelProperty(value = "设备状态描述")
private Integer billStatus; private String repairStatus;
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论