|
|
@@ -1296,10 +1296,6 @@ public class WorkflowExecuteServiceImpl implements IWorkflowExecuteService {
|
|
|
session.quietRollback();
|
|
|
}
|
|
|
throw new MyException("【表单id: " + formConfig.getFormId() + "】 提交错误, 请联系管理员!");
|
|
|
- }finally {
|
|
|
- for (Session session : sessionList) {
|
|
|
- session.close();
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
}
|
|
|
@@ -1462,10 +1458,6 @@ public class WorkflowExecuteServiceImpl implements IWorkflowExecuteService {
|
|
|
session.quietRollback();
|
|
|
}
|
|
|
throw new MyException("【表单id: " + formConfig.getFormId() + "】 提交错误, 请联系管理员!");
|
|
|
- }finally {
|
|
|
- for (Session session : sessionList) {
|
|
|
- session.close();
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
}
|