mybatisplus项目搭建

 官方文档:https://mp.baomidou.com/guide/

 工程链接:https://pan.baidu.com/s/12nRu4_MMdZjHUidHuK87ZQ

https://pan.baidu.com/s/1C6qFkaAvObSd_E9JZJ2acA

依赖:


        
            com.baomidou
            mybatis-plus
            2.3
        
        
        
            org.aspectj
            aspectjweaver
            1.8.13
        

dao配置文件:




	
	
	
	
	
		
		
		
		
		
		
	

	

	
	
		
		
		
		
		
		
		
		

		
		
	

	
	
	

	
	

	
	

	



	
	
            
            
        


	




2.

spring/spring-mybatis.xml




    
    
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
    

    
    
        
        
        
        
        
        
        
            
                
                
                    
                    
                
            
        
    

    
    
        
        
    

    
    
        
        
    

    
    
        
    
    
    
    
    
        
            
            
            
            
            
        
    

    
    
        
    

 

mapper接口:

package com.atguigu.mapper.mappers;

import com.atguigu.mapper.entities.Employe;
import com.baomidou.mybatisplus.mapper.BaseMapper;

public interface EmployeMapper extends BaseMapper
{
}

 

你可能感兴趣的:(mybatisplus项目搭建,mybatisplus,mybatis,java)