From c1cd89f1a3c9d6df411cfc61ccb5d991e88a89a1 Mon Sep 17 00:00:00 2001 From: zhaoqiaobo Date: Wed, 29 May 2024 14:35:08 +0800 Subject: [PATCH] =?UTF-8?q?feat(all):=20=E8=A7=A3=E5=86=B3=E6=88=91?= =?UTF-8?q?=E4=B9=90=E5=90=AF=E5=8A=A8=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../factorydata/olo/config/FactoryDataOloConfiguration.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blade-service/logpm-factory-data/logpm-factory-data-olo/src/main/java/com/logpm/factorydata/olo/config/FactoryDataOloConfiguration.java b/blade-service/logpm-factory-data/logpm-factory-data-olo/src/main/java/com/logpm/factorydata/olo/config/FactoryDataOloConfiguration.java index 016e5ba7f..8ae354444 100644 --- a/blade-service/logpm-factory-data/logpm-factory-data-olo/src/main/java/com/logpm/factorydata/olo/config/FactoryDataOloConfiguration.java +++ b/blade-service/logpm-factory-data/logpm-factory-data-olo/src/main/java/com/logpm/factorydata/olo/config/FactoryDataOloConfiguration.java @@ -18,6 +18,7 @@ package com.logpm.factorydata.olo.config; import com.logpm.factorydata.olo.pros.FactoryDataOloProperties; +import com.logpm.factorydata.olo.pros.OldProperties; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.cloud.openfeign.EnableFeignClients; @@ -33,7 +34,7 @@ import org.springframework.context.annotation.Configuration; @ComponentScan({"org.springblade", "com.logpm"}) @EnableFeignClients({"org.springblade", "com.logpm"}) @MapperScan({"org.springblade.**.mapper.**", "com.logpm.**.mapper.**"}) -@EnableConfigurationProperties(FactoryDataOloProperties.class) +@EnableConfigurationProperties(value = {FactoryDataOloProperties.class, OldProperties.class}) public class FactoryDataOloConfiguration {