File tree Expand file tree Collapse file tree 7 files changed +11
-11
lines changed
src/main/java/cn/mybatisboost/util
mybatis-boost-spring-boot-autoconfigure
mybatis-boost-spring-boot-starter Expand file tree Collapse file tree 7 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Mybatis SQL开发神器MybatisBoost,包含通用CrudMapper、Mybatis语法增
1010<dependency >
1111 <groupId >cn.mybatisboost</groupId >
1212 <artifactId >mybatis-boost-spring-boot-starter</artifactId >
13- <version >2.0.4 </version >
13+ <version >2.1.0 </version >
1414</dependency >
1515```
1616
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >cn.mybatisboost</groupId >
99 <artifactId >mybatis-boost</artifactId >
10- <version >2.0.4 </version >
10+ <version >2.1.0 </version >
1111 </parent >
1212
1313 <artifactId >mybatis-boost-core</artifactId >
Original file line number Diff line number Diff line change 99
1010public abstract class PropertyUtils {
1111
12+ public static String normalizeProperty (String property ) {
13+ return StringUtils .uncapitalize
14+ (Arrays .stream (property .split ("_" )).map (StringUtils ::capitalize ).collect (Collectors .joining ()));
15+ }
16+
1217 public static List <String > buildPropertiesWithCandidates
1318 (String [] candidateProperties , Object entity , boolean isSelectiveUpdating ) {
1419 if (candidateProperties .length > 0 && !Objects .equals (candidateProperties [0 ], "!" )) {
@@ -34,9 +39,4 @@ public abstract class PropertyUtils {
3439 properties .removeAll (conditionalPropertyList );
3540 properties .addAll (conditionalPropertyList );
3641 }
37-
38- public static String normalizeProperty (String property ) {
39- return StringUtils .uncapitalize
40- (Arrays .stream (property .split ("_" )).map (StringUtils ::capitalize ).collect (Collectors .joining ()));
41- }
4242}
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >cn.mybatisboost</groupId >
99 <artifactId >mybatis-boost</artifactId >
10- <version >2.0.4 </version >
10+ <version >2.1.0 </version >
1111 </parent >
1212
1313 <artifactId >mybatis-boost-spring-boot-autoconfigure</artifactId >
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >cn.mybatisboost</groupId >
99 <artifactId >mybatis-boost</artifactId >
10- <version >2.0.4 </version >
10+ <version >2.1.0 </version >
1111 </parent >
1212
1313 <artifactId >mybatis-boost-spring-boot-starter</artifactId >
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >cn.mybatisboost</groupId >
99 <artifactId >mybatis-boost</artifactId >
10- <version >2.0.4 </version >
10+ <version >2.1.0 </version >
1111 </parent >
1212
1313 <artifactId >mybatis-boost-test</artifactId >
Original file line number Diff line number Diff line change 66
77 <groupId >cn.mybatisboost</groupId >
88 <artifactId >mybatis-boost</artifactId >
9- <version >2.0.4 </version >
9+ <version >2.1.0 </version >
1010 <packaging >pom</packaging >
1111
1212 <name >MybatisBoost</name >
You can’t perform that action at this time.
0 commit comments