|
|
@ -158,7 +158,7 @@ public class DataSourceServiceImpl extends BaseServiceImpl implements DataSource |
|
|
|
|
|
|
|
|
|
|
|
Result<Object> isConnection = checkConnection(dataSource.getType(), connectionParam); |
|
|
|
Result<Object> isConnection = checkConnection(dataSource.getType(), connectionParam); |
|
|
|
if (Status.SUCCESS.getCode() != isConnection.getCode()) { |
|
|
|
if (Status.SUCCESS.getCode() != isConnection.getCode()) { |
|
|
|
return result; |
|
|
|
return isConnection; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Date now = new Date(); |
|
|
|
Date now = new Date(); |
|
|
|