liu
2026-08-24 76bf0caef9a6f4b7daae7e7b1d09b0c9044aebef
yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/dal/mysql/category/MdmItemCategoryMapper.java
@@ -13,7 +13,7 @@
/**
 * MDM 物料分类 Mapper
 *
 * @author 芋道源码
 * @author 超级管理员
 */
@Mapper
public interface MdmItemCategoryMapper extends BaseMapperX<MdmItemCategoryDO> {
@@ -60,4 +60,8 @@
        return selectList(MdmItemCategoryDO::getId, ids);
    }
    default MdmItemCategoryDO selectByItemOrProduct(String itemOrProduct) {
        return selectOne(MdmItemCategoryDO::getItemOrProduct, itemOrProduct);
    }
}