移动破添加解决方案时增加问题部位设置
This commit is contained in:
parent
802334cdf5
commit
775691fe9e
|
|
@ -918,7 +918,6 @@ public class TicketController extends ControllerBase {
|
||||||
@GetMapping("getSolutionMeasures")
|
@GetMapping("getSolutionMeasures")
|
||||||
@ApiMark(moduleName = "工单管理", apiName = "获取工单解决方案措施")
|
@ApiMark(moduleName = "工单管理", apiName = "获取工单解决方案措施")
|
||||||
public ApiResult<SolutionMeasuresVO> getSolutionMeasures(@Valid @RequestParam @NotNull Long ticketId) {
|
public ApiResult<SolutionMeasuresVO> getSolutionMeasures(@Valid @RequestParam @NotNull Long ticketId) {
|
||||||
|
|
||||||
return ApiResult.success(ticketSolutionService.getSolutionMeasures(ticketId));
|
return ApiResult.success(ticketSolutionService.getSolutionMeasures(ticketId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -133,11 +133,9 @@ public class TicketSolutionServiceImpl extends ServiceImpl<TicketSolutionMapper,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
vo.setMeasures(items);
|
vo.setMeasures(items);
|
||||||
if (Objects.equals(ticket.getType(), 1)) {
|
DeviceInfoVO deviceInfoVO = deviceService.getByDeviceNo(ticket.getDeviceNo());
|
||||||
DeviceInfoVO deviceInfoVO = deviceService.getByDeviceNo(ticket.getDeviceNo());
|
if (Objects.nonNull(deviceInfoVO)) {
|
||||||
if (Objects.nonNull(deviceInfoVO)) {
|
vo.setComponents(deviceInfoVO.getComponents());
|
||||||
vo.setComponents(deviceInfoVO.getComponents());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return vo;
|
return vo;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue