Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
robin
2023-10-26 15:05:30 +08:00
46 changed files with 631 additions and 155 deletions

View File

@ -93,7 +93,7 @@ public class RdbDmlController {
try {
boolean flag = true;
ExecuteResultVO executeResult = null;
connection.setAutoCommit(false);
//connection.setAutoCommit(false);
ListResult<ExecuteResult> resultDTOListResult = dlTemplateService.execute(param);
List<ExecuteResultVO> resultVOS = rdbWebConverter.dto2vo(resultDTOListResult.getData());
if (!CollectionUtils.isEmpty(resultVOS)) {
@ -107,7 +107,7 @@ public class RdbDmlController {
}
}
if (flag) {
connection.commit();
//connection.commit();
return DataResult.of(resultVOS.get(0));
}else {
connection.rollback();

View File

@ -108,7 +108,7 @@ public class DatabaseExportService {
try {
export(outputStream, exportOptions);
} catch (Exception e) {
throw new RuntimeException("导出失败!请联系开发者邮箱963565242@qq.com" + e);
throw new RuntimeException("导出失败!请联系开发者" + e);
}
init();
}