Merge branch 'prod/20260204' into develop
This commit is contained in:
commit
7b03defe07
|
|
@ -918,7 +918,6 @@ public class TicketController extends ControllerBase {
|
|||
@GetMapping("getSolutionMeasures")
|
||||
@ApiMark(moduleName = "工单管理", apiName = "获取工单解决方案措施")
|
||||
public ApiResult<SolutionMeasuresVO> getSolutionMeasures(@Valid @RequestParam @NotNull Long ticketId) {
|
||||
|
||||
return ApiResult.success(ticketSolutionService.getSolutionMeasures(ticketId));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -133,11 +133,9 @@ public class TicketSolutionServiceImpl extends ServiceImpl<TicketSolutionMapper,
|
|||
}
|
||||
}
|
||||
vo.setMeasures(items);
|
||||
if (Objects.equals(ticket.getType(), 1)) {
|
||||
DeviceInfoVO deviceInfoVO = deviceService.getByDeviceNo(ticket.getDeviceNo());
|
||||
if (Objects.nonNull(deviceInfoVO)) {
|
||||
vo.setComponents(deviceInfoVO.getComponents());
|
||||
}
|
||||
DeviceInfoVO deviceInfoVO = deviceService.getByDeviceNo(ticket.getDeviceNo());
|
||||
if (Objects.nonNull(deviceInfoVO)) {
|
||||
vo.setComponents(deviceInfoVO.getComponents());
|
||||
}
|
||||
return vo;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue