From e390be16e2a4496d3a72390d14073dab4c4d0876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B5=E9=A3=9E=E5=AE=87?= <2684146481@qq.com> Date: Fri, 25 Aug 2023 08:26:50 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=96=B0=E5=BB=BAdigital-twin-display?= =?UTF-8?q?=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hzims-service/digital-twin-display/pom.xml | 20 ++++++++++++ .../twindisplay/DigitalTwinDisplayApplication.java | 36 ++++++++++++++++++++++ hzims-service/pom.xml | 1 + 3 files changed, 57 insertions(+) create mode 100644 hzims-service/digital-twin-display/pom.xml create mode 100644 hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/DigitalTwinDisplayApplication.java diff --git a/hzims-service/digital-twin-display/pom.xml b/hzims-service/digital-twin-display/pom.xml new file mode 100644 index 0000000..0222c43 --- /dev/null +++ b/hzims-service/digital-twin-display/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + com.hnac.hzims + hzims-service + 4.0.0-SNAPSHOT + + + digital-twin-display + + + 8 + 8 + UTF-8 + + + \ No newline at end of file diff --git a/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/DigitalTwinDisplayApplication.java b/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/DigitalTwinDisplayApplication.java new file mode 100644 index 0000000..25ab9aa --- /dev/null +++ b/hzims-service/digital-twin-display/src/main/java/com/hnac/hzims/twindisplay/DigitalTwinDisplayApplication.java @@ -0,0 +1,36 @@ +package com.hnac.hzims.twindisplay; + +import org.mybatis.spring.annotation.MapperScan; +import org.springblade.core.cloud.feign.EnableBladeFeign; +import org.springblade.core.launch.BladeApplication; +import org.springframework.boot.builder.SpringApplicationBuilder; +import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; +import org.springframework.cloud.client.SpringCloudApplication; +import org.springframework.context.annotation.ComponentScan; +import org.springframework.scheduling.annotation.EnableScheduling; + +/** + * @Author WL + * @Version v1.0 + * @Serial 1.0 + * @Date 2023/8/25 8:24 + */ +//数据孪生展示服务 +@EnableBladeFeign(basePackages = {"org.springblade","com.hnac"}) +@SpringCloudApplication +@MapperScan("com.hnac.hzims.**.mapper.**") +@EnableScheduling +@ComponentScan(basePackages = {"com.hnac.hzims.*"}) +public class DigitalTwinDisplayApplication extends SpringBootServletInitializer { + public final static String APP_NAME = "digital-twin-display"; + + public static void main(String[] args) { +// System.setProperty("nacos.standalone", "true"); + BladeApplication.run(APP_NAME, DigitalTwinDisplayApplication.class, args); + } + + @Override + protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { + return BladeApplication.createSpringApplicationBuilder(builder, APP_NAME, DigitalTwinDisplayApplication.class); + } +} \ No newline at end of file diff --git a/hzims-service/pom.xml b/hzims-service/pom.xml index f20d297..1f3e83c 100644 --- a/hzims-service/pom.xml +++ b/hzims-service/pom.xml @@ -28,6 +28,7 @@ hzims-middle hzims-scheduled base-info + digital-twin-display From aae7b2934f2dde52552f2273f735aa9ace3562d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B5=E9=A3=9E=E5=AE=87?= <2684146481@qq.com> Date: Fri, 25 Aug 2023 08:33:05 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=96=B0=E5=BB=BAdigital-twin-display?= =?UTF-8?q?=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hzims-service-api/digital-twin-display-api/pom.xml | 20 ++++++++++++++++++++ hzims-service-api/pom.xml | 1 + 2 files changed, 21 insertions(+) create mode 100644 hzims-service-api/digital-twin-display-api/pom.xml diff --git a/hzims-service-api/digital-twin-display-api/pom.xml b/hzims-service-api/digital-twin-display-api/pom.xml new file mode 100644 index 0000000..1f70b12 --- /dev/null +++ b/hzims-service-api/digital-twin-display-api/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + com.hnac.hzims + hzims-service-api + 4.0.0-SNAPSHOT + + + digital-twin-display-api + + + 8 + 8 + UTF-8 + + + \ No newline at end of file diff --git a/hzims-service-api/pom.xml b/hzims-service-api/pom.xml index 3f05497..fdae5c6 100644 --- a/hzims-service-api/pom.xml +++ b/hzims-service-api/pom.xml @@ -28,6 +28,7 @@ common-api middle-api base-info-api + digital-twin-display-api