| | |
| | | Map<String, Object> data = getDataTable(aiProductQuestionService.listJobInPage(dto, request)); |
| | | return new FebsResponse().success().data(data); |
| | | } |
| | | @GetMapping("/jobChild") |
| | | public FebsResponse jobChild(QueryRequest request, AiProductQuestionJob dto, String jobId) { |
| | | dto.setId(jobId); |
| | | Map<String, Object> dataTable = getDataTable(aiProductQuestionService.jobChild(request, dto)); |
| | | return new FebsResponse().success().data(dataTable); |
| | | } |
| | | |
| | | @GetMapping("changeState/{id}/{state}") |
| | | @ControllerEndpoint(operation = "状态操作", exceptionMessage = "操作失败") |
| | |
| | | return aiProductQuestionService.stateUpdate(ids, type); |
| | | } |
| | | |
| | | @PostMapping(value = "jobStateUpdate/{ids}") |
| | | @ControllerEndpoint(operation = "更新", exceptionMessage = "操作失败") |
| | | public FebsResponse jobStateUpdate(@PathVariable("ids") String ids) { |
| | | return aiProductQuestionService.jobStateUpdate(ids); |
| | | } |
| | | |
| | | @PostMapping(value = "productQuestionDelete/{ids}") |
| | | @ControllerEndpoint(operation = "删除", exceptionMessage = "操作失败") |
| | | public FebsResponse productQuestionDelete(@PathVariable("ids") String ids) { |