From 94126981b30da2ac804c1523aa3ac5c1af4811af Mon Sep 17 00:00:00 2001 From: wangxy <1481820854@qq.com> Date: Fri, 28 Mar 2025 08:34:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0=E4=B8=93=E9=A2=98?= =?UTF-8?q?=E6=B4=BB=E5=8A=A8=EF=BC=8C=E5=8A=A8=E6=80=81=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/web/controller/home/ColumnTreeController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/home/ColumnTreeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/home/ColumnTreeController.java index e4939aa..4923647 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/home/ColumnTreeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/home/ColumnTreeController.java @@ -43,9 +43,9 @@ public class ColumnTreeController extends BaseController { @ApiOperation("类别树") @GetMapping("/getTree") - public R> getTree(@RequestParam(required = false, defaultValue = "0") String parentId) { + public R> getTree(@RequestParam(required = false, defaultValue = "2") String columnType) { LambdaQueryWrapper tagWrapper = new LambdaQueryWrapper<>(); - tagWrapper.eq(SysColumn::getColumnType, SPECIAL_COLUMN_TYPE) + tagWrapper.eq(SysColumn::getColumnType, columnType) .eq(SysColumn::getColumnGrade, COLUMN_GRADE) .eq(SysColumn::getStatus,STATUS) .orderByAsc(SysColumn::getOrderNum);