From 73559ec983f52cb192e52654f0db7674535c8e6a Mon Sep 17 00:00:00 2001
From: liriming <1343021927@qq.com>
Date: 星期一, 24 三月 2025 16:55:58 +0800
Subject: [PATCH] 新增api controller

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/McsApiController.java |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/McsApiController.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/McsApiController.java
index 4d2a470..8197392 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/McsApiController.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/McsApiController.java
@@ -250,4 +250,22 @@
         mcsApi.updateChartParam(chartDTO);
         return success( true);
     }
+
+    @PostMapping("/item/result")
+    public CommonResult<List<Object[]>> getItemResult(@RequestBody  PreItemResultReqVO reqVO){
+        List<Object[]> list = mcsApi.getItemResult(reqVO);
+        return CommonResult.success(list);
+    }
+
+    @GetMapping("/predict-item/itemNo")
+    public CommonResult<PredictItemVO> getPredictItemByItemNo(@RequestParam("itemNo") String itemNo){
+        PredictItemVO proVo = mcsApi.getPredictItemByItemNo(itemNo);
+        return CommonResult.success(proVo);
+    }
+
+    @PostMapping("/item/result/last-point")
+    public CommonResult<List<Object[]>> getItemResultLastPoint(@RequestBody  PreItemResultReqVO reqVO){
+        List<Object[]> list = mcsApi.getItemResultLastPoint(reqVO);
+        return CommonResult.success(list);
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3