From 48c2e5ffb3f9ad3509006e50f3142ea4d0e7f619 Mon Sep 17 00:00:00 2001 From: Jay <csj123456> Date: 星期三, 16 十月 2024 09:32:16 +0800 Subject: [PATCH] 修改拼接sql逻辑以及返回逻辑 --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/category/service/impl/IndItemCategoryServiceImpl.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/category/service/impl/IndItemCategoryServiceImpl.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/category/service/impl/IndItemCategoryServiceImpl.java index 5fd1947..29830d4 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/category/service/impl/IndItemCategoryServiceImpl.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/category/service/impl/IndItemCategoryServiceImpl.java @@ -1,6 +1,7 @@ package com.iailab.module.data.ind.category.service.impl; import com.iailab.framework.common.util.object.BeanUtils; +import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX; import com.iailab.module.data.ind.category.entity.IndItemCategoryEntity; import com.iailab.module.data.ind.category.service.IndItemCategoryService; import com.iailab.module.data.ind.category.vo.IndItemCategoryReqVO; @@ -37,6 +38,11 @@ } @Override + public List<IndItemCategoryEntity> getSimpleList() { + return indItemCategoryDao.selectList(new LambdaQueryWrapperX<IndItemCategoryEntity>()); + } + + @Override public void create(IndItemCategorySaveReqVO createReqVO) { // 校验父菜单存在 validateParentMenu(createReqVO.getPid(), null); -- Gitblit v1.9.3