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 按月份分表更新:按月分表查询更新 更新内容:添加范围搜索比如201901~201605五个月的数据,之前是只能查询单月的数据 sharding-jdbc 按月份分表需要自己实现。需要实...