| | |
| | | |
| | | @ApiOperation(value = "设备效率报表-利用率列表查询", notes = "设备效率报表-利用率列表查询") |
| | | @GetMapping("/efficiencyList") |
| | | public Result efficiencyList(MdcEfficiencyReportQueryVo vo) { |
| | | public Result<?> efficiencyList(MdcEfficiencyReportQueryVo vo) { |
| | | LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | String userId = user.getId(); |
| | | MdcEfficiencyVo result = mdcEfficiencyReportService.efficiencyList(userId, vo); |
| | |
| | | |
| | | @ApiOperation(value = "设备效率报表-开动率列表查询", notes = "设备效率报表-开动率列表查询") |
| | | @GetMapping("/efficiencyPOList") |
| | | public Result efficiencyPOList(MdcEfficiencyReportQueryVo vo) { |
| | | public Result<?> efficiencyPOList(MdcEfficiencyReportQueryVo vo) { |
| | | LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | String userId = user.getId(); |
| | | MdcEfficiencyVo result = mdcEfficiencyReportService.efficiencyPOList(userId, vo); |
| | |
| | | |
| | | @ApiOperation(value = "设备效率报表-班次利用率列表查询", notes = "设备效率报表-班次利用率列表查询") |
| | | @GetMapping("/efficiencyShiftList") |
| | | public Result efficiencyShiftList(MdcEfficiencyReportShiftQueryVo vo) { |
| | | public Result<?> efficiencyShiftList(MdcEfficiencyReportShiftQueryVo vo) { |
| | | LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | String userId = user.getId(); |
| | | MdcEfficiencyShiftVo result = mdcEfficiencyReportService.efficiencyShiftList(userId, vo); |
| | |
| | | |
| | | @ApiOperation(value = "设备效率报表-统计分析列表", notes = "设备效率报表-统计分析列表") |
| | | @GetMapping("/dayStatisticalRate") |
| | | public Result dayStatisticalRate(MdcEfficiencyReportQueryVo vo) { |
| | | public Result<?> dayStatisticalRate(MdcEfficiencyReportQueryVo vo) { |
| | | LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | String userId = user.getId(); |
| | | StatisticalAnalysisVo result = mdcEfficiencyReportService.dayStatisticalRate(userId, vo); |
| | |
| | | |
| | | @ApiOperation(value = "设备效率报表-对比分析", notes = "设备效率报表-对比分析") |
| | | @GetMapping("/comparativeAnalysis") |
| | | public Result comparativeAnalysis(ComparativeAnalysisQueryVo vo) { |
| | | public Result<?> comparativeAnalysis(ComparativeAnalysisQueryVo vo) { |
| | | LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | String userId = user.getId(); |
| | | ComparativeAnalysisDto result = mdcEfficiencyReportService.comparativeAnalysis(userId, vo); |
| | |
| | | |
| | | @ApiOperation(value = "设备效率报表-设备日利用率", notes = "设备效率报表-设备日利用率") |
| | | @GetMapping("/dayUtilizationRate") |
| | | public Result dayUtilizationRate(DayUtilizationRateQueryVo vo) { |
| | | public Result<?> dayUtilizationRate(DayUtilizationRateQueryVo vo) { |
| | | LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | String userId = user.getId(); |
| | | DayUtilizationRateDto result = mdcEfficiencyReportService.dayUtilizationRate(userId, vo); |
| | |
| | | |
| | | @ApiOperation(value = "设备效率报表-设备日利用率对比", notes = "设备效率报表-设备日利用率对比") |
| | | @GetMapping("/dayUtilizationRateContrast") |
| | | public Result dayUtilizationRateContrast(DayUtilizationRateContrastQueryVo vo) { |
| | | public Result<?> dayUtilizationRateContrast(DayUtilizationRateContrastQueryVo vo) { |
| | | LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | String userId = user.getId(); |
| | | DayUtilizationRateDto result = mdcEfficiencyReportService.dayUtilizationRateContrast(userId, vo); |
| | |
| | | |
| | | @ApiOperation(value = "设备效率报表-利用率走势分析列表", notes = "设备效率报表-利用率走势分析列表") |
| | | @GetMapping("/utilizationRateTrendAnalyze") |
| | | public Result utilizationRateTrendAnalyze(DayUtilizationRateContrastQueryVo vo) { |
| | | public Result<?> utilizationRateTrendAnalyze(DayUtilizationRateContrastQueryVo vo) { |
| | | LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | String userId = user.getId(); |
| | | MdcUtilizationRateDto result = mdcEfficiencyReportService.utilizationRateTrendAnalyze(userId, vo); |
| | |
| | | |
| | | @ApiOperation(value = "设备效率报表-利用率分段分析列表", notes = "设备效率报表-利用率分段分析列表") |
| | | @GetMapping("/utilizationRateSectionAnalyze") |
| | | public Result utilizationRateSectionAnalyze(DayUtilizationRateContrastQueryVo vo) { |
| | | public Result<?> utilizationRateSectionAnalyze(DayUtilizationRateContrastQueryVo vo) { |
| | | LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | String userId = user.getId(); |
| | | MdcUtilizationRateDto result = mdcEfficiencyReportService.utilizationRateSectionAnalyze(userId, vo); |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | // @ApiOperation(value = "设备效率报表-综合利用率统计分析", notes = "设备效率报表-综合利用率统计分析") |
| | | // @GetMapping("/comprehensiveRayeAnalyze") |
| | | // public Result comprehensiveRayeAnalyze(DayUtilizationRateContrastQueryVo vo) { |
| | | // LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | // String userId = user.getId(); |
| | | // MdcUtilizationRateDto result = mdcEfficiencyReportService.comprehensiveRayeAnalyze(userId, vo); |
| | | // return Result.OK(result); |
| | | // } |
| | | @ApiOperation(value = "设备效率报表-综合利用率统计分析", notes = "设备效率报表-综合利用率统计分析") |
| | | @GetMapping("/comprehensiveRateAnalyze") |
| | | public Result<?> comprehensiveRateAnalyze(EquEffVo vo) { |
| | | LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | String userId = user.getId(); |
| | | Map<String, Object> result = mdcEfficiencyReportService.comprehensiveRateAnalyze(userId, vo); |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | @ApiOperation(value = "设备效率报表-班组综合利用率统计分析", notes = "设备效率报表-综合利用率统计分析") |
| | | @GetMapping("/teamEfficiencyAnalyzeByMonth") |