hasan 2 years ago
parent
commit
809d63cfa7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/main/java/com/szls/nstths/mapper/UserMapper.java

+ 2 - 0
src/main/java/com/szls/nstths/mapper/UserMapper.java

@@ -2,7 +2,9 @@ package com.szls.nstths.mapper;
2
 
2
 
3
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
3
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
4
 import com.szls.nstths.entity.User;
4
 import com.szls.nstths.entity.User;
5
+import org.springframework.stereotype.Component;
5
 
6
 
7
+@Component(value ="userMapper")
6
 public interface UserMapper extends BaseMapper<User> {
8
 public interface UserMapper extends BaseMapper<User> {
7
 
9
 
8
 }
10
 }