use mybatis-plus config
							parent
							
								
									55e988d299
								
							
						
					
					
						commit
						f05ad4d8b0
					
				| 
						 | 
				
			
			@ -7,7 +7,7 @@ spring:
 | 
			
		|||
    password: ${MALL_MYSQL_PASSWORD}
 | 
			
		||||
 | 
			
		||||
# mybatis
 | 
			
		||||
mybatis:
 | 
			
		||||
#mybatis:
 | 
			
		||||
#  config-location: classpath:mybatis-config.xml
 | 
			
		||||
#  mapper-locations: classpath:mapper/*.xml
 | 
			
		||||
#  type-aliases-package: cn.iocoder.mall.order.biz.dataobject
 | 
			
		||||
| 
						 | 
				
			
			@ -21,6 +21,7 @@ mybatis-plus:
 | 
			
		|||
      id-type: auto
 | 
			
		||||
  mapper-locations: classpath*:mapper/*.xml
 | 
			
		||||
  type-aliases-package: cn.iocoder.mall.order.biz.dataobject
 | 
			
		||||
  config-location: classpath:mybatis-config.xml
 | 
			
		||||
 | 
			
		||||
# dubbo
 | 
			
		||||
dubbo:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -26,7 +26,7 @@ mybatis-plus:
 | 
			
		|||
      id-type: auto
 | 
			
		||||
  mapper-locations: classpath*:mapper/*.xml
 | 
			
		||||
  type-aliases-package: cn.iocoder.mall.promotion.biz.dataobject
 | 
			
		||||
 | 
			
		||||
  config-location: classpath:mybatis-config.xml
 | 
			
		||||
# dubbo
 | 
			
		||||
dubbo:
 | 
			
		||||
  application:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,19 +7,18 @@ spring:
 | 
			
		|||
    password: ${MALL_MYSQL_PASSWORD}
 | 
			
		||||
 | 
			
		||||
# mybatis
 | 
			
		||||
mybatis:
 | 
			
		||||
  config-location: classpath:mybatis-config.xml
 | 
			
		||||
  mapper-locations: classpath:mapper/*.xml
 | 
			
		||||
  type-aliases-package: cn.iocoder.mall.user.biz.dataobject
 | 
			
		||||
#mybatis:
 | 
			
		||||
#  config-location: classpath:mybatis-config.xml
 | 
			
		||||
#  mapper-locations: classpath:mapper/*.xml
 | 
			
		||||
#  type-aliases-package: cn.iocoder.mall.user.biz.dataobject
 | 
			
		||||
 | 
			
		||||
# mybatis-plus
 | 
			
		||||
#mybatis-plus:
 | 
			
		||||
#  configuration:
 | 
			
		||||
#    mapUnderscoreToCamelCase: true # 虽然默认为 true ,但是还是显示去指定下。
 | 
			
		||||
#  mapperLocations: classpath*:mapper/*.xml
 | 
			
		||||
#  typeAliasesPackage: cn.iocoder.mall.user.biz.dataobject
 | 
			
		||||
#  mapper-locations: classpath*:mapper/*.xml
 | 
			
		||||
#  type-aliases-package: cn.iocoder.mall.user.biz.dataobject
 | 
			
		||||
mybatis-plus:
 | 
			
		||||
  configuration:
 | 
			
		||||
    mapUnderscoreToCamelCase: true # 虽然默认为 true ,但是还是显示去指定下。
 | 
			
		||||
  mapperLocations: classpath*:mapper/*.xml
 | 
			
		||||
  typeAliasesPackage: cn.iocoder.mall.user.biz.dataobject
 | 
			
		||||
  config-location: classpath:mybatis-config.xml
 | 
			
		||||
 | 
			
		||||
# dubbo
 | 
			
		||||
dubbo:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue