Browse Source

添加注解

my-csc-config-file.git 3 years ago
parent
commit
650f962f64
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/main/java/com/unissoft/mapper/QuantityQualityMapper.java

+ 3 - 0
src/main/java/com/unissoft/mapper/QuantityQualityMapper.java

@@ -2,8 +2,10 @@ package com.unissoft.mapper;
2
 
2
 
3
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
3
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
4
 import com.unissoft.model.QuantityQuality;
4
 import com.unissoft.model.QuantityQuality;
5
+import org.apache.ibatis.annotations.Mapper;
5
 import org.apache.ibatis.annotations.Param;
6
 import org.apache.ibatis.annotations.Param;
6
 
7
 
8
+import javax.annotation.Resource;
7
 import java.util.List;
9
 import java.util.List;
8
 
10
 
9
 /**
11
 /**
@@ -14,6 +16,7 @@ import java.util.List;
14
  * @author root
16
  * @author root
15
  * @since 2021-01-26
17
  * @since 2021-01-26
16
  */
18
  */
19
+@Mapper
17
 public interface QuantityQualityMapper extends BaseMapper<QuantityQuality> {
20
 public interface QuantityQualityMapper extends BaseMapper<QuantityQuality> {
18
     List<QuantityQuality> groudByType(@Param("depotId") String depotId, @Param("depotType") String depotType);
21
     List<QuantityQuality> groudByType(@Param("depotId") String depotId, @Param("depotType") String depotType);
19
 }
22
 }