|
@@ -124,6 +124,7 @@ public class DataGovernanceServiceImpl implements DataGovernanceService {
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public Map<String, String> dropDatabase(List<String> list) {
|
|
|
Map<String, String> result = new HashMap<>();
|
|
|
+ /*
|
|
|
try {
|
|
|
for (String databaseName : list) {
|
|
|
this.executeSql(this.getExecuteSql("dropDatabase", databaseName));
|
|
@@ -136,6 +137,9 @@ public class DataGovernanceServiceImpl implements DataGovernanceService {
|
|
|
}
|
|
|
result.put("message", "删除成功!");
|
|
|
result.put("type", "success");
|
|
|
+ */
|
|
|
+ result.put("message", "不允许直接删除数据库!");
|
|
|
+ result.put("type", "error");
|
|
|
return result;
|
|
|
}
|
|
|
|