摘要: 今天在工作中遇到一个问题,一个Service类中有一个方法,其中使用了 AopContext.currentProxy() 去访问自身的函数,例如 int result = ((OrderServiceImpl) AopContext.currentProxy()).save(); 单元测试方法如下 阅读全文
posted @ 2023-05-11 23:05 飞鸟_Asuka 阅读(727) 评论(0) 推荐(0) 编辑