| | |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.modules.screen.dto.*; |
| | | import org.jeecg.modules.screen.service.MdcLargeScreenService; |
| | | import org.jeecg.modules.system.entity.MdcProduction; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | |
| | | @ApiOperation(value = "总控看板-今日生产进度", notes = "总控看板-今日生产进度") |
| | | @GetMapping("/todayProductionSchedule") |
| | | public Result<?> todayProductionSchedule() { |
| | | List<TodayProductionDto> result = mdcLargeScreenService.todayProductionSchedule(); |
| | | List<TodayProductionDto> result = mdcLargeScreenService.todayProductionSchedule(); |
| | | return Result.ok(result); |
| | | } |
| | | |
| | |
| | | |
| | | /** |
| | | * 开机率利用率 |
| | | * |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "总控看板-今日设备工作效率", notes = "总控看板-今日设备工作效率") |
| | |
| | | @ApiOperation(value = "总控看板-月设备利用率", notes = "总控看板-月设备利用率") |
| | | @GetMapping("/monthEquipmentUtilizationRate") |
| | | public Result<?> monthEquipmentUtilizationRate() { |
| | | |
| | | return Result.ok(); |
| | | List<MonthEquipmentUtilizationRateDto> result = mdcLargeScreenService.monthEquipmentUtilizationRate(); |
| | | return Result.ok(result); |
| | | } |
| | | |
| | | @ApiOperation(value = "总控看板-产线列表", notes = "总控看板-产线列表") |
| | | @GetMapping("/productionList") |
| | | public Result<?> productionList() { |
| | | List<MdcProduction> result = mdcLargeScreenService.productionList(); |
| | | return Result.ok(result); |
| | | } |
| | | } |