Skip to content

Commit af2116b

Browse files
committed
消除编辑器报错
1 parent 0759afe commit af2116b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mybatis/src/main/java/info/xiaomo/mybatis/mapper/UserMapper.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
import info.xiaomo.mybatis.domain.User;
55
import org.apache.ibatis.annotations.*;
6+
import org.springframework.stereotype.Repository;
67

78
import java.util.List;
89
import java.util.Map;
@@ -11,6 +12,7 @@
1112
* @author : xiaomo
1213
*/
1314
@Mapper
15+
@Repository
1416
public interface UserMapper {
1517

1618
@Results({

0 commit comments

Comments
 (0)