From 7f302004e78ca5220a4f88a7fab843964a18739a Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期一, 17 三月 2025 18:35:17 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev-2.0' into dev-2.0 --- springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/api/ProblemTypeController.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/api/ProblemTypeController.java b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/api/ProblemTypeController.java index eacfb62..6ddf475 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/api/ProblemTypeController.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/api/ProblemTypeController.java @@ -18,6 +18,7 @@ import javax.annotation.Resource; import java.time.LocalDateTime; +import java.util.List; /** * @author zhibing.pu @@ -112,4 +113,10 @@ ProblemType problemType = problemTypeService.getById(id); return R.ok(problemType); } + @ApiOperation(value = "获取问题类型列表(不分页)") + @GetMapping("/list-no-page") + public R<List<ProblemType>> listNoPage(){ + List<ProblemType> list = problemTypeService.list(new LambdaQueryWrapper<ProblemType>().eq(ProblemType::getDel, 0)); + return R.ok(list); + } } -- Gitblit v1.7.1