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/analysis/controller/admin/CoalWashCurvesChartController.java |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/controller/admin/CoalWashCurvesChartController.java b/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/controller/admin/CoalWashCurvesChartController.java
new file mode 100644
index 0000000..8bc7974
--- /dev/null
+++ b/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/controller/admin/CoalWashCurvesChartController.java
@@ -0,0 +1,40 @@
+package com.iailab.module.pms.coalquality.modules.analysis.controller.admin;
+
+
+import com.iailab.framework.common.pojo.CommonResult;
+import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalWashCurvesChartDTO;
+import com.iailab.module.pms.coalquality.modules.analysis.service.CoalWashCurvesChartService;
+import io.swagger.v3.oas.annotations.Operation;
+import io.swagger.v3.oas.annotations.tags.Tag;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import static com.iailab.framework.common.pojo.CommonResult.success;
+
+/**
+ * @author PanZhibao
+ * @Description
+ * @createTime 2023年01月20日 09:56:00
+ */
+@RestController
+@RequestMapping("/coal-quality/analysis/wash-curves-chart")
+@Tag(name="可选性曲线图")
+public class CoalWashCurvesChartController {
+
+    @Autowired
+    private CoalWashCurvesChartService coalWashCurvesChartService;
+
+    @PostMapping("/draw")
+    @Operation(summary="绘制")
+    public CommonResult<CoalWashCurvesChartDTO> draw(@RequestBody CoalWashCurvesChartDTO dto) {
+        CoalWashCurvesChartDTO data = coalWashCurvesChartService.draw(dto);
+        return success(data);
+    }
+
+    @GetMapping("/get")
+    @Operation(summary="信息")
+    public CommonResult<CoalWashCurvesChartDTO> get(String curvesId){
+        CoalWashCurvesChartDTO data = coalWashCurvesChartService.getByCurvesId(curvesId);
+        return success(data);
+    }
+}

--
Gitblit v1.9.3