@@ -92,6 +92,11 @@ public class InspectQuestionController extends ApiBaseController { | |||
* @param id 问题ID | |||
* @return | |||
*/ | |||
/** | |||
* | |||
* @param id | |||
* @return | |||
*/ | |||
@GetMapping("/finished/{id}") | |||
public Response finished(@PathVariable("id") Integer id) { | |||
return inspectQuestionService.finished(id); |
@@ -150,7 +150,7 @@ public class InspectAppServiceImpl extends ServiceImpl<InspectAppMapper, TauvIns | |||
return response.failure("巡检河湖任务创建失败"); | |||
} | |||
Map<String, Object> map = new HashMap<>(); | |||
map.put("inspactAppId", entity.getId()); | |||
map.put("inspectId", entity.getId()); | |||
map.put("inspectDriverId", inspectDriver.getId()); | |||
return response.success("巡检任务创建成功", map); | |||
} |