|
@@ -23,12 +23,11 @@ public class InspectionItemPlanConclusionController extends BaseController {
|
|
|
private InspectionItemPlanConclusionService InspectionItemPlanConclusionService;
|
|
|
|
|
|
@ApiOperation(value = "获取日程的巡查结果")
|
|
|
- @GetMapping("/getInfo")
|
|
|
- @PreAuthorize("@pcs.hasPermissions('inspectionItemPlanConclusion/getInfo')")
|
|
|
- @ApiImplicitParams({@ApiImplicitParam(name = "planId", value = "日程id", required = true, dataType = "int"),
|
|
|
- @ApiImplicitParam(name = "checkItem", value = "巡查结果项", required = false, dataType = "int")})
|
|
|
- public HttpResponseResult<Map<Integer, List<InspectionItemPlanConclusion>>> getInfo(Long planId, Integer checkItem) {
|
|
|
- return succeed(InspectionItemPlanConclusionService.getInfo(planId, checkItem));
|
|
|
+ @GetMapping("/getPlanConclusion")
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('inspectionItemPlanConclusion/getPlanConclusion')")
|
|
|
+ @ApiImplicitParams({@ApiImplicitParam(name = "planId", value = "日程id", required = true, dataType = "int")})
|
|
|
+ public HttpResponseResult<Map<Long, List<InspectionItemPlanConclusion>>> getInfo(Long planId, Integer checkItem) {
|
|
|
+ return succeed(InspectionItemPlanConclusionService.getPlanConclusion(planId));
|
|
|
}
|
|
|
|
|
|
}
|