yumeng 2 달 전
부모
커밋
23b7378408
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      jeecg-boot-material-view/src/main/java/org/jeecg/ctop/material/service/impl/TiFlashInterceptor.java

+ 1 - 1
jeecg-boot-material-view/src/main/java/org/jeecg/ctop/material/service/impl/TiFlashInterceptor.java

@@ -86,7 +86,7 @@ public class TiFlashInterceptor implements Interceptor {
 
         // 反射获取transaction字段
         java.lang.reflect.Field transactionField =
-                Executor.class.getDeclaredField("transaction");
+                Executor.class.getDeclaredField("master");
         transactionField.setAccessible(true);
         Object transaction = transactionField.get(executor);