huminmin
5 天以前 9f4056b16d84520392ac8add1ca2f2277cc68b72
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);
    }
}