|  |  | 
 |  |  |  * @date 2022/04/20 10:56 | 
 |  |  |  */ | 
 |  |  | @RestController | 
 |  |  | @RequestMapping("/ext/statistic") | 
 |  |  | @RequestMapping("/statistics") | 
 |  |  | @Api(tags = "大屏数据看板-统计数据接口") | 
 |  |  | public class StatisticsController extends BaseController { | 
 |  |  |  | 
 |  |  | 
 |  |  |     public ApiResponse<StatisticsPlanDataModel> getProcedurePlanData(@PathVariable Integer companyId, @PathVariable Integer departId,@RequestParam Integer procedureId) { | 
 |  |  |         return ApiResponse.success(statisticsService.getProcedurePlanData(companyId,departId,procedureId)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation("员工产品统计TOP10") | 
 |  |  |     @GetMapping("/userProduceTop/{companyId}/{departId}") | 
 |  |  |     public ApiResponse<List<UserProduceTopModel>> getUserProducceTop(@PathVariable Integer companyId, @PathVariable Integer departId,@RequestParam Integer procedureId) { | 
 |  |  | 
 |  |  |             , @RequestBody PageWrap<QueryWorkorderRecordExtDTO> pageWrap) { | 
 |  |  |         return ApiResponse.success(statisticsService.getRecordLogPage(companyId,departId,pageWrap)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation("巡检记录分页查询") | 
 |  |  |     @PostMapping("/getDeviceCheckPage/{companyId}/{departId}") | 
 |  |  |     public ApiResponse<PageData<DeviceCheckExtListVO>> getDeviceCheckPage (@PathVariable Integer companyId, @PathVariable Integer departId | 
 |  |  |             ,@RequestBody PageWrap<QueryDeviceCheckExtDTO> pageWrap) { | 
 |  |  |         return ApiResponse.success(statisticsService.getDeviceCheckPage(companyId,departId,pageWrap)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation("工序计划进度查询") | 
 |  |  |     @GetMapping("/getProcedurePlansList/{companyId}/{departId}") | 
 |  |  |     public ApiResponse<List<ProcedurePlansPageModel>> getProcedurePlansList (@PathVariable Integer companyId, @PathVariable Integer departId,@RequestParam Integer procedureId) { | 
 |  |  | 
 |  |  |     public ApiResponse<List<StockDataModel>> getStockList (@PathVariable Integer companyId, @PathVariable Integer departId   ) { | 
 |  |  |         return ApiResponse.success(statisticsService.getStockList(companyId,departId)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  | 
 |  |  | } |