diff --git a/mybatis-flex-spring/src/main/java/com/mybatisflex/spring/service/impl/CacheableServiceImpl.java b/mybatis-flex-spring/src/main/java/com/mybatisflex/spring/service/impl/CacheableServiceImpl.java index a545d8a5..08677bfe 100644 --- a/mybatis-flex-spring/src/main/java/com/mybatisflex/spring/service/impl/CacheableServiceImpl.java +++ b/mybatis-flex-spring/src/main/java/com/mybatisflex/spring/service/impl/CacheableServiceImpl.java @@ -44,7 +44,7 @@ public class CacheableServiceImpl, T> implements IServic @Autowired @SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection") - private M mapper; + protected M mapper; /** * {@inheritDoc} @@ -96,4 +96,4 @@ public class CacheableServiceImpl, T> implements IServic return QueryWrapper.create().from(new QueryTable(tableInfo.getSchema(), tableInfo.getTableName())); } -} \ No newline at end of file +}