| | |
| | | import org.jeecg.modules.system.service.IMdcProductionService; |
| | | 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; |
| | |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | @ApiOperation(value = "MDC首页接口-设备级设备效率统计", notes = "MDC首页接口-设备级设备效率统计") |
| | | @GetMapping("/equipmentLevelEfficiencyStatistics") |
| | | public Result<?> equipmentLevelEfficiencyStatistics(@RequestParam(name = "equipmentId", required = true) String equipmentId) { |
| | | MdcHomeEfficiencyVo result = mdcHomeService.getEquipmentLevelEfficiencyStatistics(equipmentId); |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | @ApiOperation(value = "MDC首页接口-设备级整年度利用率", notes = "MDC首页接口-设备级整年度利用率") |
| | | @GetMapping("/equipmentAnnualEfficiencyStatistics") |
| | | public Result<?> equipmentAnnualEfficiencyStatistics(@RequestParam(name = "equipmentId", required = true) String equipmentId) { |
| | | Map<String, Object> result = mdcHomeService.getEquipmentAnnualEfficiencyStatistics(equipmentId); |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | } |