From ba7e882360e20f5c68d29f7c54eacd150b56fbc1 Mon Sep 17 00:00:00 2001 From: Kingstar Date: Sun, 2 May 2021 19:12:39 +0800 Subject: [PATCH] support spring-boot2.0.4.RELEASE --- pom.xml | 4 ++-- .../teasoft/spring/boot/config/BeeProperties.java | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 7292e35..5d9eebd 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.teasoft bee-spring-boot - 1.9.5 + 1.9.5.boot2.0.4.RELEASE jar bee-spring-boot @@ -23,7 +23,7 @@ org.springframework.boot spring-boot-dependencies - 1.5.16.RELEASE + 2.0.4.RELEASE pom import diff --git a/src/main/java/org/teasoft/spring/boot/config/BeeProperties.java b/src/main/java/org/teasoft/spring/boot/config/BeeProperties.java index 4b578a6..02a6fe5 100644 --- a/src/main/java/org/teasoft/spring/boot/config/BeeProperties.java +++ b/src/main/java/org/teasoft/spring/boot/config/BeeProperties.java @@ -70,14 +70,14 @@ public BeeProGenid getBeeProGenid() { @Bean @ConditionalOnClass(BeeProMoreTable.class) - @ConfigurationProperties(prefix = "bee.osql.moreTable") + @ConfigurationProperties(prefix = "bee.osql.more-table") public BeeProMoreTable getBeeProMoreTable() { return new BeeProMoreTable(); } @Bean @ConditionalOnClass(BeeProMultiDS.class) - @ConfigurationProperties(prefix = "bee.dosql.multiDS") + @ConfigurationProperties(prefix = "bee.dosql.multi-d-s") public BeeProMultiDS getBeeProMultiDS() { return new BeeProMultiDS(); } @@ -91,28 +91,28 @@ public BeeProNaming getBeeProNaming() { @Bean @ConditionalOnClass(BeeProPearFlowerId.class) - @ConfigurationProperties(prefix = "bee.distribution.pearFlowerId") + @ConfigurationProperties(prefix = "bee.distribution.pear-flower-id") public BeeProPearFlowerId getBeeProPearFlowerId() { return new BeeProPearFlowerId(); } @Bean @ConditionalOnClass(BeeProReturnStringList.class) - @ConfigurationProperties(prefix = "bee.osql.returnStringList") + @ConfigurationProperties(prefix = "bee.osql.return-string-list") public BeeProReturnStringList getBeeProReturnStringList() { return new BeeProReturnStringList(); } @Bean @ConditionalOnClass(BeeProSelectJson.class) - @ConfigurationProperties(prefix = "bee.osql.selectJson") + @ConfigurationProperties(prefix = "bee.osql.select-json") public BeeProSelectJson getBeeProSelectJson() { return new BeeProSelectJson(); } @Bean @ConditionalOnClass(BeeProShowSql.class) - @ConfigurationProperties(prefix = "bee.osql.showSql") + @ConfigurationProperties(prefix = "bee.osql.show-sql") public BeeProShowSql getBeeProShowSql() { return new BeeProShowSql(); }