数据源

highway
zhaoxiaolin 1 year ago
parent 8603ea7ac2
commit 0a822359bd

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

@ -37,4 +37,4 @@ sqlserve:
driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
#数据标识前缀
poolName:
prev: factory
prev: ds

Loading…
Cancel
Save