|
@@ -1351,7 +1351,6 @@ public class InformationWriteQueryController extends BladeController {
|
|
|
@PostMapping("/copyContractTreeNode")
|
|
|
@ApiOperationSupport(order = 15)
|
|
|
@ApiOperation(value = "复制节点(新)")
|
|
|
- @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)
|
|
|
public R<Boolean> copyContractTreeNode(@RequestBody CopyContractTreeNodeVO vo) {
|
|
|
//表单所属方
|
|
|
String tabOwner = "";
|
|
@@ -1487,9 +1486,6 @@ public class InformationWriteQueryController extends BladeController {
|
|
|
if (collect.size() > 0) {
|
|
|
jdbcTemplate.execute("delete from m_wbs_tree_contract where p_key_id in(" + StringUtils.join(collect, ",") + ")");
|
|
|
}
|
|
|
- //标记当前事务为回滚状态
|
|
|
- TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
|
|
|
-
|
|
|
e.printStackTrace();
|
|
|
throw new ServiceException("保存数据异常,请联系管理员");
|
|
|
}
|
|
@@ -1681,9 +1677,6 @@ public class InformationWriteQueryController extends BladeController {
|
|
|
if (collect1.size() > 0) {
|
|
|
jdbcTemplate.execute("delete from m_wbs_tree_contract where p_key_id in(" + StringUtils.join(collect1, ",") + ")");
|
|
|
}
|
|
|
- //标记当前事务为回滚状态
|
|
|
- TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
|
|
|
-
|
|
|
e.printStackTrace();
|
|
|
throw new ServiceException("保存数据异常,请联系管理员");
|
|
|
}
|