mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-23 05:00:23 +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
|
||||
*/
|
||||
@Override
|
||||
public Boolean removeByDsId(Integer dsId) {
|
||||
public Boolean removeByDsId(Long dsId) {
|
||||
SpringContextHolder.getBean(DynamicRoutingDataSource.class)
|
||||
.removeDataSource(baseMapper.selectById(dsId).getName());
|
||||
this.baseMapper.deleteById(dsId);
|
||||
|
Loading…
Reference in New Issue
Block a user