潘志宝
2024-12-15 bbe7acfbe5a4c08d6edc91eaf81dcecf9d630e18
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);