|
|
|
@ -247,5 +247,13 @@ public class InspectionTasksController extends DafController { |
|
|
|
|
EasyExcel.write(response.getOutputStream(), InspectionTasksExcel.class).sheet("巡检任务").doWrite(list); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@GetMapping("/getListByToolsCodeId") |
|
|
|
|
@ApiOperationSupport(order = 11) |
|
|
|
|
@ApiOperation(value = "通过工器具编码获取巡检任务", notes = "通过工器具编码获取巡检任务") |
|
|
|
|
public R<List<InspectionTasks>> getListByToolsCodeId(String toolsCodeId) { |
|
|
|
|
List<InspectionTasks> pages = inspectionTasksService.getListByToolsCodeId(toolsCodeId); |
|
|
|
|
return R.data(pages); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|