The bean 'dataSource', defined in class path resource [io/shardingsphere/shardingjdbc/spring/boot/SpringBootConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [com/baomidou/dynamic/datasource/spring/boot/autoconfigure/DynamicDataSourceAutoConfiguration.class] and overriding is disabled.
Action:
Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
這個(gè)在yml文件加了這個(gè)也沒(méi)用凳鬓,作者是怎么解決的呢
sharding-jdbc 按月份分表更新:按月分表查詢(xún)更新 更新內(nèi)容:添加范圍搜索比如201901~201605五個(gè)月的數(shù)據(jù),之前是只能查詢(xún)單月的數(shù)據(jù) sharding-jdbc 按月份分表需要自己實(shí)現(xiàn)。需要實(shí)...