From 7c7463d2f5012c27ac50f1d2ac39fa09616fc813 Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期五, 23 八月 2024 11:29:31 +0800 Subject: [PATCH] update --- lxzn-module-mdc/src/main/java/org/jeecg/modules/screen/controller/MdcLargeScreenController.java | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/screen/controller/MdcLargeScreenController.java b/lxzn-module-mdc/src/main/java/org/jeecg/modules/screen/controller/MdcLargeScreenController.java index 2856e59..793168c 100644 --- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/screen/controller/MdcLargeScreenController.java +++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/screen/controller/MdcLargeScreenController.java @@ -6,6 +6,7 @@ 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; @@ -31,7 +32,7 @@ @ApiOperation(value = "鎬绘帶鐪嬫澘-浠婃棩鐢熶骇杩涘害", notes = "鎬绘帶鐪嬫澘-浠婃棩鐢熶骇杩涘害") @GetMapping("/todayProductionSchedule") public Result<?> todayProductionSchedule() { - List<TodayProductionDto> result = mdcLargeScreenService.todayProductionSchedule(); + List<TodayProductionDto> result = mdcLargeScreenService.todayProductionSchedule(); return Result.ok(result); } @@ -58,6 +59,7 @@ /** * 寮�鏈虹巼鍒╃敤鐜� + * * @return */ @ApiOperation(value = "鎬绘帶鐪嬫澘-浠婃棩璁惧宸ヤ綔鏁堢巼", notes = "鎬绘帶鐪嬫澘-浠婃棩璁惧宸ヤ綔鏁堢巼") @@ -70,8 +72,14 @@ @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); + } } -- Gitblit v1.9.3