tuqin
2026-09-11 67d3ab41f4989faf4db5f7f95f56b8595dd8eb3b
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);
    }
}