|
|
@ -82,9 +82,9 @@ public class SysDatasourceServiceImpl implements ISysDatasourceService {
|
|
|
|
+mysqlAffter+sysDatasource.getIpPort().split("/")[1]);
|
|
|
|
+mysqlAffter+sysDatasource.getIpPort().split("/")[1]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(sysDatasource.getDeptId()!=null){
|
|
|
|
if(sysDatasource.getDeptId()!=null){
|
|
|
|
if(StringUtils.isNotEmpty(sysDatasource.getSystemType())){
|
|
|
|
|
|
|
|
sysDatasource.setPoolName(poolNamePrev+"_"+sysDatasource.getDeptId());
|
|
|
|
sysDatasource.setPoolName(poolNamePrev+"_"+sysDatasource.getDeptId());
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return sysDatasourceMapper.insertSysDatasource(sysDatasource);
|
|
|
|
return sysDatasourceMapper.insertSysDatasource(sysDatasource);
|
|
|
|