Home > Back-end >  Logic delete there cannot be automatically into the bean
Logic delete there cannot be automatically into the bean

Time:11-26

CodePudding user response:

UserMapper how to write, whether to a spring management

CodePudding user response:

UserMapper see if leakage added annotations

CodePudding user response:

To look at how UserMapper inside the code you write

CodePudding user response:

Public interface UserMapper extends BaseMapper {

Only the}

CodePudding user response:

reference 4 floor InnovateI response:
public interface UserMapper extends BaseMapper {

} only inside the
add @ Repository the annotations on the interface

CodePudding user response:

This thing does not affect the operation of, if you have obsessive-compulsive disorder at Mapper plus @ the Repository, or setting up the IDEA

CodePudding user response:

Yes, running again don't know if you have any questions, there is a problem in userMapper interface register

CodePudding user response:

Normal is because you didn't start the project he not instantiate this class, belong to the false positives, does not affect use

CodePudding user response:

Can also switch to other annotations, @ the Resource

CodePudding user response:

Mapper annotations above, start the class add Mapper path (mapperScan)
  • Related