From 6da57b610d97be3f79084d43440e7823d707b249 Mon Sep 17 00:00:00 2001
From: hyingbo <1363390067@qq.com>
Date: 星期四, 04 九月 2025 17:54:55 +0800
Subject: [PATCH] 设备管理调整

---
 lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/EquipmentHomeController.java |   64 ++++++++++++++++++++++++++++++++
 1 files changed, 64 insertions(+), 0 deletions(-)

diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/EquipmentHomeController.java b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/EquipmentHomeController.java
new file mode 100644
index 0000000..4bf1049
--- /dev/null
+++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/EquipmentHomeController.java
@@ -0,0 +1,64 @@
+package org.jeecg.modules.eam.controller;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import lombok.extern.slf4j.Slf4j;
+import org.jeecg.common.api.vo.Result;
+import org.jeecg.modules.eam.service.IEquipmentHomeService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import java.util.List;
+import java.util.Map;
+
+@Slf4j
+@Api(tags = "璁惧绠$悊棣栭〉鎺ュ彛")
+@RestController
+@RequestMapping("/equipment/home")
+public class EquipmentHomeController {
+
+    @Autowired
+    private IEquipmentHomeService equipmentHomeService;
+
+    /**
+     *棣栭〉 鎶�鏈姸鎬佹暟閲忕粺璁�
+     */
+    @ApiOperation(value = "棣栭〉 鎶�鏈姸鎬佹暟閲忕粺璁�", notes = "棣栭〉 鎶�鏈姸鎬佹暟閲忕粺璁�")
+    @GetMapping("getEquipmentTechnologyStatusList")
+    public Result<?> getFactoryEquipmentTechnologyStatusList() {
+        List<Map<String, Object>> list = equipmentHomeService.getEquipmentTechnologyStatusList();
+        return Result.ok(list);
+    }
+
+    /**
+     *棣栭〉 璁惧鎶ヤ慨鎯呭喌缁熻
+     */
+    @ApiOperation(value = "棣栭〉 璁惧鎶ヤ慨鎯呭喌缁熻", notes = "棣栭〉 璁惧鎶ヤ慨鎯呭喌缁熻")
+    @GetMapping("getReportRepairEquipmentList")
+    public Result<?> getFactoryReportRepairEquipmentList() {
+        List<Map<String, Object>> list = equipmentHomeService.getReportRepairEquipmentList();
+        return Result.ok(list);
+    }
+
+    /**
+     *棣栭〉 涓変繚璁″垝
+     */
+    @ApiOperation(value = "棣栭〉 涓変繚璁″垝", notes = "棣栭〉 涓変繚璁″垝")
+    @GetMapping("getThirdGuaranteesPlan")
+    public Result<?> getThirdGuaranteesPlan() {
+        Map<String, Object> map = equipmentHomeService.getThirdGuaranteesPlan();
+        return Result.ok(map);
+    }
+
+    /**
+     *棣栭〉 浜屼繚璁″垝
+     */
+    @ApiOperation(value = "棣栭〉 浜屼繚璁″垝", notes = "棣栭〉 浜屼繚璁″垝")
+    @GetMapping("getSecondGuaranteesPlan")
+    public Result<?> getSecondGuaranteesPlan() {
+        Map<String, Object> map = equipmentHomeService.getSecondGuaranteesPlan();
+        return Result.ok(map);
+    }
+}

--
Gitblit v1.9.3