HuRongxin 3 months ago
parent
commit
3d020d0e04

+ 2 - 0
ruoyi-admin/src/main/java/org/dromara/web/mapper/ProductCategoryMapper.java

@@ -4,6 +4,7 @@ package org.dromara.web.mapper;
 import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
 import org.dromara.web.domain.ProductCategory;
 import org.dromara.web.domain.vo.ProductCategoryVo;
+import org.springframework.stereotype.Repository;
 
 /**
  * 产品分类Mapper接口
@@ -11,6 +12,7 @@ import org.dromara.web.domain.vo.ProductCategoryVo;
  * @author Lion Li
  * @date 2025-06-26
  */
+@Repository
 public interface ProductCategoryMapper extends BaseMapperPlus<ProductCategory, ProductCategoryVo> {
 
 }

+ 2 - 0
ruoyi-admin/src/main/java/org/dromara/web/mapper/ProductManufacturerMapper.java

@@ -4,6 +4,7 @@ package org.dromara.web.mapper;
 import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
 import org.dromara.web.domain.ProductManufacturer;
 import org.dromara.web.domain.vo.ProductManufacturerVo;
+import org.springframework.stereotype.Repository;
 
 /**
  * 生产厂商Mapper接口
@@ -11,6 +12,7 @@ import org.dromara.web.domain.vo.ProductManufacturerVo;
  * @author Lion Li
  * @date 2025-07-07
  */
+@Repository
 public interface ProductManufacturerMapper extends BaseMapperPlus<ProductManufacturer, ProductManufacturerVo> {
 
 }

+ 2 - 0
ruoyi-admin/src/main/java/org/dromara/web/mapper/ProductNutritionMapper.java

@@ -4,6 +4,7 @@ package org.dromara.web.mapper;
 import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
 import org.dromara.web.domain.ProductNutrition;
 import org.dromara.web.domain.vo.ProductNutritionVo;
+import org.springframework.stereotype.Repository;
 
 /**
  * 营养产品信息Mapper接口
@@ -11,6 +12,7 @@ import org.dromara.web.domain.vo.ProductNutritionVo;
  * @author h
  * @date 2025-06-26
  */
+@Repository
 public interface ProductNutritionMapper extends BaseMapperPlus<ProductNutrition, ProductNutritionVo> {
 
 }

+ 2 - 0
ruoyi-admin/src/main/java/org/dromara/web/mapper/ProductSupplierMapper.java

@@ -4,6 +4,7 @@ package org.dromara.web.mapper;
 import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
 import org.dromara.web.domain.ProductSupplier;
 import org.dromara.web.domain.vo.ProductSupplierVo;
+import org.springframework.stereotype.Repository;
 
 /**
  * 供应商Mapper接口
@@ -11,6 +12,7 @@ import org.dromara.web.domain.vo.ProductSupplierVo;
  * @author Lion Li
  * @date 2025-07-07
  */
+@Repository
 public interface ProductSupplierMapper extends BaseMapperPlus<ProductSupplier, ProductSupplierVo> {
 
 }

+ 2 - 1
ruoyi-admin/src/main/java/org/dromara/web/mapper/SuppliesCategoryMapper.java

@@ -5,6 +5,7 @@ import jakarta.annotation.Resource;
 import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
 import org.dromara.web.domain.SuppliesCategory;
 import org.dromara.web.domain.vo.SuppliesCategoryVo;
+import org.springframework.stereotype.Repository;
 
 /**
  * 耗材分类Mapper接口
@@ -12,7 +13,7 @@ import org.dromara.web.domain.vo.SuppliesCategoryVo;
  * @author Lion Li
  * @date 2025-06-27
  */
-
+@Repository
 public interface SuppliesCategoryMapper extends BaseMapperPlus<SuppliesCategory, SuppliesCategoryVo> {
 
 }

+ 2 - 0
ruoyi-admin/src/main/java/org/dromara/web/mapper/SuppliesManageMapper.java

@@ -4,6 +4,7 @@ package org.dromara.web.mapper;
 import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
 import org.dromara.web.domain.SuppliesManage;
 import org.dromara.web.domain.vo.SuppliesManageVo;
+import org.springframework.stereotype.Repository;
 
 /**
  * 耗材管理Mapper接口
@@ -11,6 +12,7 @@ import org.dromara.web.domain.vo.SuppliesManageVo;
  * @author Lion Li
  * @date 2025-07-02
  */
+@Repository
 public interface SuppliesManageMapper extends BaseMapperPlus<SuppliesManage, SuppliesManageVo> {
 
 }

+ 2 - 0
ruoyi-admin/src/main/java/org/dromara/web/mapper/TreatmentUserMapper.java

@@ -4,6 +4,7 @@ package org.dromara.web.mapper;
 import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
 import org.dromara.web.domain.TreatmentUser;
 import org.dromara.web.domain.vo.TreatmentUserVo;
+import org.springframework.stereotype.Repository;
 
 /**
  * 【请填写功能名称】Mapper接口
@@ -11,6 +12,7 @@ import org.dromara.web.domain.vo.TreatmentUserVo;
  * @author Lion Li
  * @date 2025-06-24
  */
+@Repository
 public interface TreatmentUserMapper extends BaseMapperPlus<TreatmentUser, TreatmentUserVo> {
 
 }