Skip to content

cassius425/toMapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

toMapper

mybatis中,快捷查看对应sql的小插件
默认快捷键 shift+ctrl+X

适用范围

文件起名相对统一及dao与service中方法名一致的web项目:

如 xxxDao*.java、xxxService*.java、xxxDao*.xml、xxxMapper*.xml

UserDao.java

public interface UserDao {

    int insert(User record);
    
    int countUser(UserVo userVo);
}

UserService.java

public class UserService {

   @Autowired
   UserDao dao;

   int insert(User user){
        return dao.insert(user);
   }

   int countUser(UserVo userVo){
        return dao.countUser(userVo);
   }
}

About

mybatis中从dao层跳转至sql的插件

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages