Jelajahi Sumber

事务配置回滚

szjbdgzl 2 tahun lalu
induk
melakukan
0f7d086a3d

+ 1 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/sysdata/services/impl/UpdateDataTableImpl.java

@@ -112,6 +112,7 @@ public class UpdateDataTableImpl extends GenericProvider implements UpdateDataTa
     }
 
     @Override
+    @Transactional(rollbackFor = Exception.class)
     public Integer updateBatchContextTable(String tableName, List<Map<String, String>> list) {
        Integer integer = 1;
             if (list!=null&&list.size()>0){

+ 0 - 1
ibps-provider-root/modules/provider-business/src/main/resources/conf/ibps-resources.xml

@@ -47,7 +47,6 @@
     <aop:config proxy-target-class="true">
 		<aop:advisor advice-ref="txAdvice" pointcut="execution(public * com.lc.ibps..domain..*(..))" order="1" />
 		<aop:advisor advice-ref="txAdvice" pointcut="execution(public * com.lc.ibps..service..*(..))" order="2" />
-		<aop:advisor advice-ref="txAdvice" pointcut="execution(public * com.lc.ibps..services..*(..))" order="2" />
 		<aop:advisor advice-ref="txAdvice" pointcut="execution(public * com.lc.ibps.base.db.table.impl..*(..))" order="4" />
 		<aop:advisor advice-ref="txAdvice" pointcut="execution(public * com.lc.ibps.bpmn.job..*(..))" order="3" />
 		<aop:advisor advice-ref="txAdvice" pointcut="execution(public * com.lc.ibps.bpmn.core.engine..*(..))" order="3" />