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); } }