From 38f1a806a4e1d8e1560f07a5a26b51cf6a4692be Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期一, 17 三月 2025 10:57:57 +0800 Subject: [PATCH] 党员管理接口调试修改 --- 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