feat(ops): 巡检统计接口(合格率、不合格热点区域 TOP10)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -62,4 +62,11 @@ public class InspectionController {
|
||||
return success(BeanUtils.toBean(pageResult, InspectionRecordRespVO.class));
|
||||
}
|
||||
|
||||
@GetMapping("/record/stats")
|
||||
@Operation(summary = "获得巡检统计(合格率、不合格热点区域)")
|
||||
@PreAuthorize("@ss.hasPermission('ops:inspection:query')")
|
||||
public CommonResult<InspectionStatsRespVO> getInspectionStats(@Valid InspectionStatsReqVO reqVO) {
|
||||
return success(inspectionRecordService.getInspectionStats(reqVO));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user