blinkfox / fenix

This is an extension library to the Spring Data JPA complex or dynamic SQL query. 这是一个比 MyBatis 更加强大的 Spring Data JPA 扩展库,为解决复杂动态 JPQL (或 SQL) 而生。https://blinkfox.github.io/fenix
https://blinkfox.github.io/fenix
Apache License 2.0
345 stars 72 forks source link

修改EnableFenix注解,使其支持EnableJpaRepository注解的属性 #28

Closed pengten closed 4 years ago

pengten commented 4 years ago

如果使用@EnableFenix启用,则会面临无法使用@EnableJpaRepositories注解属性的情况。本次修改主要是将@EnableJpaRepositories中的属性拷贝到@EnableFenix中,使得可以像@EnableJpaRepositories一样使用@EnableFenix

codecov-commenter commented 4 years ago

Codecov Report

Merging #28 into develop will decrease coverage by 0.41%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #28      +/-   ##
===========================================
- Coverage    78.79%   78.38%   -0.42%     
===========================================
  Files          105      106       +1     
  Lines         2023     2040      +17     
  Branches       289      291       +2     
===========================================
+ Hits          1594     1599       +5     
- Misses         319      331      +12     
  Partials       110      110              
Impacted Files Coverage Δ
.../blinkfox/fenix/FenixJpaRepositoriesRegistrar.java 100.00% <100.00%> (ø)
...ain/java/com/blinkfox/fenix/jpa/FenixJpaQuery.java 68.37% <0.00%> (-7.36%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 323de1c...e96ef19. Read the comment docs.

blinkfox commented 4 years ago

@yy1098029419 你多种情况都测试过吗?

pengten commented 4 years ago

@blinkfox 每个属性都测试过,是可以生效的

blinkfox commented 4 years ago

嗯,辛苦。