| | |
| | | import org.jeecg.modules.mdc.vo.*; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @author: LiuS |
| | |
| | | @Resource |
| | | private MdcEfficiencyReportService mdcEfficiencyReportService; |
| | | |
| | | @AutoLog(value = "设备效率报表-利用率列表查询") |
| | | @ApiOperation(value = "设备效率报表-利用率列表查询", notes = "设备效率报表-利用率列表查询") |
| | | @GetMapping("/efficiencyList") |
| | | public Result efficiencyList(MdcEfficiencyReportQueryVo vo) { |
| | |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | @AutoLog(value = "设备效率报表-开动率列表查询") |
| | | @ApiOperation(value = "设备效率报表-开动率列表查询", notes = "设备效率报表-开动率列表查询") |
| | | @GetMapping("/efficiencyPOList") |
| | | public Result efficiencyPOList(MdcEfficiencyReportQueryVo vo) { |
| | |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | @AutoLog(value = "设备效率报表-班次利用率列表查询") |
| | | @ApiOperation(value = "设备效率报表-班次利用率列表查询", notes = "设备效率报表-班次利用率列表查询") |
| | | @GetMapping("/efficiencyShiftList") |
| | | public Result efficiencyShiftList(MdcEfficiencyReportShiftQueryVo vo) { |
| | |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | @AutoLog(value = "设备效率报表-统计分析列表") |
| | | @ApiOperation(value = "设备效率报表-统计分析列表", notes = "设备效率报表-统计分析列表") |
| | | @GetMapping("/dayStatisticalRate") |
| | | public Result dayStatisticalRate(MdcEfficiencyReportQueryVo vo) { |
| | |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | @AutoLog(value = "设备效率报表-对比分析") |
| | | @ApiOperation(value = "设备效率报表-对比分析", notes = "设备效率报表-对比分析") |
| | | @GetMapping("/comparativeAnalysis") |
| | | public Result comparativeAnalysis(ComparativeAnalysisQueryVo vo) { |
| | |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | @AutoLog(value = "设备效率报表-设备日利用率") |
| | | @ApiOperation(value = "设备效率报表-设备日利用率", notes = "设备效率报表-设备日利用率") |
| | | @GetMapping("/dayUtilizationRate") |
| | | public Result dayUtilizationRate(DayUtilizationRateQueryVo vo) { |
| | |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | @AutoLog(value = "设备效率报表-设备日利用率对比") |
| | | @ApiOperation(value = "设备效率报表-设备日利用率对比", notes = "设备效率报表-设备日利用率对比") |
| | | @GetMapping("/dayUtilizationRateContrast") |
| | | public Result dayUtilizationRateContrast(DayUtilizationRateContrastQueryVo vo) { |
| | |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | @AutoLog(value = "设备效率报表-利用率走势分析列表") |
| | | @ApiOperation(value = "设备效率报表-利用率走势分析列表", notes = "设备效率报表-利用率走势分析列表") |
| | | @GetMapping("/utilizationRateTrendAnalyze") |
| | | public Result utilizationRateTrendAnalyze(DayUtilizationRateContrastQueryVo vo) { |
| | |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | @AutoLog(value = "设备效率报表-利用率分段分析列表") |
| | | @ApiOperation(value = "设备效率报表-利用率分段分析列表", notes = "设备效率报表-利用率分段分析列表") |
| | | @GetMapping("/utilizationRateSectionAnalyze") |
| | | public Result utilizationRateSectionAnalyze(DayUtilizationRateContrastQueryVo 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("/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("/teamEquipmentEfficiencyAnalyze") |
| | | // public Result teamEquipmentEfficiencyAnalyze(TeamEquEffVo teamEquEffVo) { |
| | | // Map<String, Object> result = mdcEfficiencyReportService.teamEquipmentEfficiencyAnalyze(teamEquEffVo); |
| | | // return Result.OK(result); |
| | | // } |
| | | |
| | | @ApiOperation(value = "设备效率报表-设备维度各班组月设备利用分布", notes = "设备效率报表-设备维度各班组月设备利用分布") |
| | | @GetMapping("/equipmentEfficiencyAnalyze") |
| | | public Result<?> equipmentEfficiencyAnalyze(TeamEquEffVo teamEquEffVo) { |
| | | Map<String, Object> result = mdcEfficiencyReportService.teamEquipmentEfficiencyAnalyze(teamEquEffVo); |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | } |