From 3f07ab2e03e501ae55d1d1b0d031daf50c8e13e5 Mon Sep 17 00:00:00 2001
From: dongyukun <1208714201@qq.com>
Date: 星期二, 10 十二月 2024 17:27:44 +0800
Subject: [PATCH] common依赖排除父类

---
 iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/controller/admin/QualityQuickItemController.java |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/controller/admin/QualityQuickItemController.java b/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/controller/admin/QualityQuickItemController.java
new file mode 100644
index 0000000..d4fb7b1
--- /dev/null
+++ b/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/controller/admin/QualityQuickItemController.java
@@ -0,0 +1,45 @@
+package com.iailab.module.pms.coalquality.modules.detection.controller.admin;
+
+import com.iailab.framework.common.pojo.CommonResult;
+import com.iailab.iems.common.annotation.AutoDict;
+import com.iailab.module.pms.coalquality.modules.detection.dto.QualityQuickItemDTO;
+import com.iailab.module.pms.coalquality.modules.detection.service.QualityQuickItemService;
+import io.swagger.v3.oas.annotations.Operation;
+import io.swagger.v3.oas.annotations.tags.Tag;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import static com.iailab.framework.common.pojo.CommonResult.success;
+
+/**
+ * @author DongYukun
+ * @Description
+ * @createTime 2023年12月27日 9:53:00
+ */
+@Slf4j
+@RestController
+@RequestMapping("/quality/quick/item")
+@Tag(name = "生产快检详情")
+public class QualityQuickItemController {
+    @Autowired
+    private QualityQuickItemService qualityQuickItemService;
+
+    @GetMapping("/list/{lsh}")
+    @Operation(summary ="信息")
+    @AutoDict
+    public CommonResult<List<QualityQuickItemDTO>> list(@PathVariable("lsh") String lsh){
+        Map<String, Object> parmas = new HashMap<>(1);
+        parmas.put("lsh", lsh);
+        List<QualityQuickItemDTO> data = qualityQuickItemService.queryList(parmas);
+        return success(data);
+    }
+
+}

--
Gitblit v1.9.3