| | |
| | | // return Result.OK(result); |
| | | // } |
| | | |
| | | // @ApiOperation(value = "设备效率报表-班组综合利用率统计分析", notes = "设备效率报表-综合利用率统计分析") |
| | | // @GetMapping("/teamComprehensiveRateAnalyze") |
| | | // public Result teamComprehensiveRateAnalyze(DayUtilizationRateContrastQueryVo vo) { |
| | | // LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | // String userId = user.getId(); |
| | | // MdcUtilizationRateDto result = mdcEfficiencyReportService.teamComprehensiveRateAnalyze(userId, vo); |
| | | // return Result.OK(result);Equipment utilization distribution of each team |
| | | // } |
| | | @ApiOperation(value = "设备效率报表-班组综合利用率统计分析", notes = "设备效率报表-综合利用率统计分析") |
| | | @GetMapping("/teamEfficiencyAnalyzeByMonth") |
| | | public Result<?> teamEfficiencyAnalyzeByMonth(EquEffVo equEffVo) { |
| | | LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | String userId = user.getId(); |
| | | Map<String, Object> result = mdcEfficiencyReportService.teamEfficiencyAnalyzeByMonth(userId, equEffVo); |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | @ApiOperation(value = "设备效率报表-配送小组维度各班组月设备利用分布", notes = "设备效率报表-配送小组维度各班组月设备利用分布") |
| | | @GetMapping("/teamEquipmentEfficiencyAnalyze") |
| | | public Result<?> teamEquipmentEfficiencyAnalyze(EquEffVo equEffVo) { |
| | | Map<String, Object> result = mdcEfficiencyReportService.teamEquipmentEfficiencyAnalyze(equEffVo); |
| | | LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | String userId = user.getId(); |
| | | Map<String, Object> result = mdcEfficiencyReportService.teamEquipmentEfficiencyAnalyze(userId, equEffVo); |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | @ApiOperation(value = "设备效率报表-设备维度各班组月设备利用分布", notes = "设备效率报表-设备维度各班组月设备利用分布") |
| | | @GetMapping("/equipmentEfficiencyAnalyze") |
| | | public Result<?> equipmentEfficiencyAnalyze(EquEffVo equEffVo) { |
| | | Map<String, Object> result = mdcEfficiencyReportService.equipmentEfficiencyAnalyze(equEffVo); |
| | | LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | String userId = user.getId(); |
| | | Map<String, Object> result = mdcEfficiencyReportService.equipmentEfficiencyAnalyze(userId, equEffVo); |
| | | return Result.OK(result); |
| | | } |
| | | |