spring <aop:pointcut> expression配置多个表达式 作者:马育民 • 2021-09-27 15:39 • 阅读:10263 ``` <!-- 只对业务逻辑层实施事务 --> <aop:config expose-proxy="true"> <aop:pointcut expression="execution(* demo.ssh.daoImpl.*.*(..)) || execution(* demo.mes.daoImpl.*.*(..))" id="txPointcut" /> <!-- Advisor定义,切入点和通知分别为txPointcut、txAdvice --> <aop:advisor advice-ref="txAdvice" pointcut-ref="txPointcut" /> </aop:config> ``` 原文出处:/show_1IX1wF5W8Jq5.html