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
這個在yml文件加了這個也沒用栗弟,作者是怎么解決的呢
sharding-jdbc 按月份分表更新:按月分表查詢更新 更新內(nèi)容:添加范圍搜索比如201901~201605五個月的數(shù)據(jù),之前是只能查詢單月的數(shù)據(jù) sharding-jdbc 按月份分表需要自己實現(xiàn)寺惫。需要實...