mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-23 13:03:42 +08:00
removeByDsId 方法dsId 类型修改为Long
This commit is contained in:
parent
5071e53b2b
commit
3843a97d27
@ -101,7 +101,7 @@ public class GenDatasourceConfServiceImpl extends ServiceImpl<GenDatasourceConfM
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Boolean removeByDsId(Integer dsId) {
|
public Boolean removeByDsId(Long dsId) {
|
||||||
SpringContextHolder.getBean(DynamicRoutingDataSource.class)
|
SpringContextHolder.getBean(DynamicRoutingDataSource.class)
|
||||||
.removeDataSource(baseMapper.selectById(dsId).getName());
|
.removeDataSource(baseMapper.selectById(dsId).getName());
|
||||||
this.baseMapper.deleteById(dsId);
|
this.baseMapper.deleteById(dsId);
|
||||||
|
Loading…
Reference in New Issue
Block a user