diff --git a/.gitignore b/.gitignore
index c8e82cc..a8d3f50 100644
--- a/.gitignore
+++ b/.gitignore
@@ -112,3 +112,4 @@ fabric.properties
# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
+**/logs/
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..52683c8
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,19 @@
+
+
+
+
+ 4.0.0
+ yxt-supervise-monitor
+
+ yxt-supervise-monitor-api
+ yxt-supervise-monitor-biz
+
+ com.yxt.supervise.monitor
+ 0.0.1
+
+ pom
+ 环境监控(库房监控)项目后台逻辑和接口
+
+
\ No newline at end of file
diff --git a/yxt-supervise-monitor-api/pom.xml b/yxt-supervise-monitor-api/pom.xml
new file mode 100644
index 0000000..fb4dd19
--- /dev/null
+++ b/yxt-supervise-monitor-api/pom.xml
@@ -0,0 +1,44 @@
+
+
+
+ com.yxt
+ yxt-parent
+ 0.0.1
+
+
+ 4.0.0
+
+ yxt-supervise-monitor-api
+ com.yxt.supervise.monitor
+ 0.0.1-SNAPSHOT
+
+
+
+ com.yxt
+ yxt-common-core
+ 0.0.1
+
+
+ org.projectlombok
+ lombok
+ 1.18.24
+ true
+
+
+
+
+
+
+ nexus-releases
+ http://172.18.0.3:8081/repository/yxt-mvn-releases/
+
+
+ nexus-snapshots
+ http://172.18.0.3:8081/repository/yxt-mvn-snapshot/
+
+
+
+
+
\ No newline at end of file
diff --git a/yxt-supervise-monitor-api/src/main/java/com/yxt/supervise/monitor/api/package-info.java b/yxt-supervise-monitor-api/src/main/java/com/yxt/supervise/monitor/api/package-info.java
new file mode 100644
index 0000000..4f34782
--- /dev/null
+++ b/yxt-supervise-monitor-api/src/main/java/com/yxt/supervise/monitor/api/package-info.java
@@ -0,0 +1,4 @@
+/**
+ * 宇信通监管项目-环境监控(库房监控)项目后台逻辑和接口-接口声明
+ */
+package com.yxt.supervise.monitor.api;
\ No newline at end of file
diff --git a/yxt-supervise-monitor-biz/pom.xml b/yxt-supervise-monitor-biz/pom.xml
new file mode 100644
index 0000000..2f9f4c9
--- /dev/null
+++ b/yxt-supervise-monitor-biz/pom.xml
@@ -0,0 +1,91 @@
+
+
+
+
+ com.yxt
+ yxt-parent
+ 0.0.1
+
+
+ 4.0.0
+
+ yxt-supervise-monitor-biz
+ com.yxt.supervise.monitor
+ 0.0.1
+
+
+
+ com.yxt.supervise.monitor
+ yxt-supervise-monitor-api
+ 0.0.1-SNAPSHOT
+
+
+ com.yxt
+ yxt-common-base
+ 0.0.1
+
+
+
+ mysql
+ mysql-connector-java
+ runtime
+
+
+
+ com.baomidou
+ mybatis-plus-boot-starter
+
+
+ com.baomidou
+ mybatis-plus-annotation
+
+
+ junit
+ junit
+ compile
+
+
+ javax.servlet
+ javax.servlet-api
+ 4.0.1
+ compile
+
+
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+ 2.5.6
+
+
+
+ repackage
+
+
+
+
+
+
+
+ src/main/java
+
+ **/*Mapper.xml
+
+
+
+ src/main/resources
+
+ **/*.*
+
+ false
+
+
+
+
+
\ No newline at end of file
diff --git a/yxt-supervise-monitor-biz/src/main/java/com/yxt/supervise/monitor/YxtSuperviseMonitorApplication.java b/yxt-supervise-monitor-biz/src/main/java/com/yxt/supervise/monitor/YxtSuperviseMonitorApplication.java
new file mode 100644
index 0000000..096a2f3
--- /dev/null
+++ b/yxt-supervise-monitor-biz/src/main/java/com/yxt/supervise/monitor/YxtSuperviseMonitorApplication.java
@@ -0,0 +1,18 @@
+package com.yxt.supervise.monitor;
+
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+/**
+ * @author dimengzhe
+ */
+@SpringBootApplication(scanBasePackages = {
+ "com.yxt.common.base.config",
+ "com.yxt.supervise.monitor"
+})
+public class YxtSuperviseMonitorApplication {
+ public static void main(String[] args) {
+ SpringApplication.run(CrmApplication.class, args);
+ }
+}
diff --git a/yxt-supervise-monitor-biz/src/main/java/com/yxt/supervise/monitor/biz/package-info.java b/yxt-supervise-monitor-biz/src/main/java/com/yxt/supervise/monitor/biz/package-info.java
new file mode 100644
index 0000000..ecfb635
--- /dev/null
+++ b/yxt-supervise-monitor-biz/src/main/java/com/yxt/supervise/monitor/biz/package-info.java
@@ -0,0 +1,4 @@
+/**
+ * 宇信通监管项目-环境监控(库房监控)项目后台逻辑和接口
+ */
+package com.yxt.supervise.monitor.biz;
\ No newline at end of file
diff --git a/yxt-supervise-monitor-biz/src/main/resources/application-devv.yml b/yxt-supervise-monitor-biz/src/main/resources/application-devv.yml
new file mode 100644
index 0000000..8183bfa
--- /dev/null
+++ b/yxt-supervise-monitor-biz/src/main/resources/application-devv.yml
@@ -0,0 +1,31 @@
+spring:
+ datasource:
+ hikari:
+ max-lifetime: 500000
+ driver-class-name: com.mysql.cj.jdbc.Driver
+ url: jdbc:mysql://127.0.0.1:3306/yxt_supervise_monitor?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true
+ username: root
+ password: root
+ cloud:
+ nacos:
+ discovery:
+ server-addr: 127.0.0.1:8848
+ redis:
+ database: 3 # Redis数据库索引(默认为0)
+ host: 127.0.0.1
+ jedis:
+ pool:
+ max-active: -1 #连接池最大连接数(使用负值表示没有限制)
+ max-idle: 8 #连接池中的最大空闲连接
+ max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
+ min-idle: 0 # 连接池中的最小空闲连接
+ password:
+ port: 6379
+ timeout: 0 # 连接超时时间(毫秒)
+
+image:
+ upload:
+ path: D:\supervise\upload\
+ url:
+ prefix: http://127.0.0.1:8112/upload/
+
diff --git a/yxt-supervise-monitor-biz/src/main/resources/application-pro.yml b/yxt-supervise-monitor-biz/src/main/resources/application-pro.yml
new file mode 100644
index 0000000..be94367
--- /dev/null
+++ b/yxt-supervise-monitor-biz/src/main/resources/application-pro.yml
@@ -0,0 +1,28 @@
+spring:
+ datasource:
+ driver-class-name: com.mysql.cj.jdbc.Driver
+ url: jdbc:mysql://127.0.0.1:3306/supervise_crm?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8
+ username: root
+ password: root
+ cloud:
+ nacos:
+ discovery:
+ server-addr: 127.0.0.1:8848
+ redis:
+ database: 3 # Redis数据库索引(默认为0)
+ host: 127.0.0.1
+ jedis:
+ pool:
+ max-active: -1 #连接池最大连接数(使用负值表示没有限制)
+ max-idle: 8 #连接池中的最大空闲连接
+ max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
+ min-idle: 0 # 连接池中的最小空闲连接
+ password: 123456
+ port: 6379
+ timeout: 0 # 连接超时时间(毫秒)
+image:
+ upload:
+ path: D:\supervise\upload\
+ url:
+ prefix: http://127.0.0.1/api/upload/
+
diff --git a/yxt-supervise-monitor-biz/src/main/resources/application-test.yml b/yxt-supervise-monitor-biz/src/main/resources/application-test.yml
new file mode 100644
index 0000000..d11ece2
--- /dev/null
+++ b/yxt-supervise-monitor-biz/src/main/resources/application-test.yml
@@ -0,0 +1,30 @@
+spring:
+ datasource:
+ driver-class-name: com.mysql.cj.jdbc.Driver
+ url: jdbc:mysql://127.0.0.1:3306/yxt_supervise_monitor?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true
+ username: root
+ password: 1LAiGz$t1*Iw
+ cloud:
+ nacos:
+ discovery:
+ server-addr: 127.0.0.1:8848
+ redis:
+ database: 3 # Redis数据库索引(默认为0)
+ host: 127.0.0.1
+ jedis:
+ pool:
+ max-active: -1 #连接池最大连接数(使用负值表示没有限制)
+ max-idle: 8 #连接池中的最大空闲连接
+ max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
+ min-idle: 0 # 连接池中的最小空闲连接
+ password: 123456
+ port: 6379
+ timeout: 0 # 连接超时时间(毫秒)
+
+
+image:
+ upload:
+ path: D:/webapps/supervise/static/upload/
+ url:
+ prefix: http://122.14.222.186:7003/upload/
+
diff --git a/yxt-supervise-monitor-biz/src/main/resources/application.yml b/yxt-supervise-monitor-biz/src/main/resources/application.yml
new file mode 100644
index 0000000..b0056c8
--- /dev/null
+++ b/yxt-supervise-monitor-biz/src/main/resources/application.yml
@@ -0,0 +1,47 @@
+spring:
+ application:
+ name: yxt-supervise-monitor
+ profiles:
+ active: devv
+# active: test
+ messages:
+ # 国际化资源文件路径
+ basename: i18n/messages
+ servlet:
+ #上传文件
+ multipart:
+ max-file-size: 50MB
+ max-request-size: 100MB
+ devtools:
+ restart:
+ # 热部署开关
+ enabled: true
+
+
+
+server:
+ port: 7103
+ max-http-header-size: 102400
+ undertow:
+ max-http-post-size: -1
+
+#mybatis
+mybatis-plus:
+ # 配置mapper的扫描,找到所有的mapper.xml映射文件
+ mapper-locations: classpath*:**Mapper.xml
+ global-config:
+ refresh: true
+ db-config:
+ #定义生成ID的类型
+ id-type: Auto
+ db-type: mysql
+ configuration:
+ map-underscore-to-camel-case: false
+ cache-enabled: true
+ call-setters-on-nulls: true
+ log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+
+
+
+
+
diff --git a/yxt-supervise-monitor-biz/src/main/resources/logback-spring.xml b/yxt-supervise-monitor-biz/src/main/resources/logback-spring.xml
new file mode 100644
index 0000000..41bb6e0
--- /dev/null
+++ b/yxt-supervise-monitor-biz/src/main/resources/logback-spring.xml
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+ %yellow(%date{yyyy-MM-dd HH:mm:ss}) |%highlight(%-5level) |%green(%logger:%line) |%blue(%msg%n)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${log.base}.log
+
+ ${log.base}.%d{yyyyMMdd}.%i.log.zip
+
+
+
+ 1MB
+
+
+
+
+ %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36}
+ -%msg%n
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file