From 435c2e83b4caefee5676fedfd7a27d7b0362693d Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期五, 27 九月 2024 15:19:32 +0800 Subject: [PATCH] update --- lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/controller/MdcOverallEquipmentEfficiencyController.java | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/controller/MdcOverallEquipmentEfficiencyController.java b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/controller/MdcOverallEquipmentEfficiencyController.java index 7d16641..2ab1438 100644 --- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/controller/MdcOverallEquipmentEfficiencyController.java +++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/controller/MdcOverallEquipmentEfficiencyController.java @@ -13,6 +13,8 @@ import org.jeecg.modules.mdc.entity.MdcOverallEquipmentEfficiency; import org.jeecg.modules.mdc.service.IMdcOverallEquipmentEfficiencyService; import org.jeecg.modules.mdc.vo.MdcOverallEquipmentEfficiencyVo; +import org.jeecg.modules.mdc.vo.OeeStatisticsChartVo; +import org.jeecg.modules.mdc.vo.OeeStatisticsVo; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; @@ -20,6 +22,7 @@ import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; +import java.util.List; /** * @Description: OEE璁惧缁煎悎鏁堢巼琛� @@ -58,5 +61,25 @@ return Result.OK(pageList); } + /** + * + * @return + */ + @AutoLog(value = "OEE璁惧缁煎悎鏁堢巼琛�-oee缁熻") + @ApiOperation(value = "OEE璁惧缁煎悎鏁堢巼琛�-oee缁熻", notes = "OEE璁惧缁煎悎鏁堢巼琛�-oee缁熻") + @GetMapping("/oeeStatisticsList") + public Result oeeStatisticsList(String date) { + List<OeeStatisticsVo> result = mdcOverallEquipmentEfficiencyService.oeeStatisticsList(date); + return Result.OK(result); + } + + @AutoLog(value = "OEE璁惧缁煎悎鏁堢巼琛�-oee缁熻鏌辩姸鍥�") + @ApiOperation(value = "OEE璁惧缁煎悎鏁堢巼琛�-oee缁熻鏌辩姸鍥�", notes = "OEE璁惧缁煎悎鏁堢巼琛�-oee缁熻鏌辩姸鍥�") + @GetMapping("/oeeStatisticsChart") + public Result oeeStatisticsChart(String date, String equipmentType) { + List<OeeStatisticsChartVo> result = mdcOverallEquipmentEfficiencyService.oeeStatisticsChart(date, equipmentType); + return Result.OK(result); + } + } -- Gitblit v1.9.3