Explorar el Código

business模块因包命名不规范需添加事务配置

szjbdgzl hace 2 años
padre
commit
63d8ceec7a

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

@@ -112,7 +112,6 @@ 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){

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

@@ -47,6 +47,7 @@
     <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" />