From 1373561069f7e19383dbc178c19787c4b3f0df3b Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期四, 26 九月 2024 10:37:36 +0800
Subject: [PATCH] MDK 上传

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/MmModelResultstrController.java |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/MmModelResultstrController.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/MmModelResultstrController.java
index 368a1a8..9dcf9dd 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/MmModelResultstrController.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/MmModelResultstrController.java
@@ -3,16 +3,20 @@
 import com.iailab.framework.common.pojo.CommonResult;
 import com.iailab.framework.common.pojo.PageResult;
 import com.iailab.framework.common.util.object.BeanUtils;
+import com.iailab.module.model.mcs.pre.entity.MmItemTypeEntity;
 import com.iailab.module.model.mcs.pre.entity.MmModelResultstrEntity;
 import com.iailab.module.model.mcs.pre.service.MmModelResultstrService;
 import com.iailab.module.model.mcs.pre.vo.MmModelResultstrPageReqVO;
 import com.iailab.module.model.mcs.pre.vo.MmModelResultstrRespVO;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.security.access.prepost.PreAuthorize;
 import org.springframework.validation.annotation.Validated;
 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
 import org.springframework.web.bind.annotation.RestController;
 
+import java.util.List;
 import java.util.Map;
 
 import static com.iailab.framework.common.pojo.CommonResult.success;
@@ -22,7 +26,7 @@
  * @date 2021年05月07日 16:53
  */
 @RestController
-@RequestMapping("/pre/model-resultstr")
+@RequestMapping("/model/pre/model-resultstr")
 public class MmModelResultstrController {
 
     @Autowired
@@ -37,4 +41,11 @@
 
         return success(BeanUtils.toBean(page, MmModelResultstrRespVO.class));
     }
+
+    @GetMapping("/list")
+    public CommonResult<List<MmModelResultstrEntity>> list(@RequestParam Map<String, Object> params) {
+        List<MmModelResultstrEntity> list = mmModelResultstrService.list(params);
+
+        return success(list);
+    }
 }

--
Gitblit v1.9.3