From 30d69aa2c3f26626f9518cb06678e8e981da22c6 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期二, 05 十一月 2024 09:28:23 +0800 Subject: [PATCH] Environment --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/MmModelResultstrController.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 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 3e9ee20..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; @@ -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