微调
This commit is contained in:
41
pom.xml
41
pom.xml
@@ -9,12 +9,12 @@
|
|||||||
<repository>
|
<repository>
|
||||||
<id>nexus-releases</id>
|
<id>nexus-releases</id>
|
||||||
<name>Nexus Release Repository</name>
|
<name>Nexus Release Repository</name>
|
||||||
<url>http://192.168.1.13:8001/nexus/content/repositories/releases/</url>
|
<url>http://192.168.1.22:8001/nexus/content/repositories/releases/</url>
|
||||||
</repository>
|
</repository>
|
||||||
<snapshotRepository>
|
<snapshotRepository>
|
||||||
<id>nexus-snapshots</id>
|
<id>nexus-snapshots</id>
|
||||||
<name>Nexus Snapshot Repository</name>
|
<name>Nexus Snapshot Repository</name>
|
||||||
<url>http://192.168.1.13:8001/nexus/content/repositories/snapshots/</url>
|
<url>http://192.168.1.22:8001/nexus/content/repositories/snapshots/</url>
|
||||||
</snapshotRepository>
|
</snapshotRepository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
<name>influxdb-springboot-starter</name>
|
<name>influxdb-springboot-starter</name>
|
||||||
@@ -36,10 +36,22 @@
|
|||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
|
<!-- <dependency>-->
|
||||||
|
<!-- <groupId>com.njcn</groupId>-->
|
||||||
|
<!-- <artifactId>common-core</artifactId>-->
|
||||||
|
<!-- <version>1.0.0</version>-->
|
||||||
|
<!-- </dependency>-->
|
||||||
|
<!--java简化开发工具-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.njcn</groupId>
|
<groupId>org.projectlombok</groupId>
|
||||||
<artifactId>common-core</artifactId>
|
<artifactId>lombok</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.18.18</version>
|
||||||
|
</dependency>
|
||||||
|
<!--java工具包-->
|
||||||
|
<dependency>
|
||||||
|
<groupId>cn.hutool</groupId>
|
||||||
|
<artifactId>hutool-all</artifactId>
|
||||||
|
<version>5.8.11</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
@@ -47,6 +59,25 @@
|
|||||||
<optional>true</optional>
|
<optional>true</optional>
|
||||||
<version>${configuration-processor.version}</version>
|
<version>${configuration-processor.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-json</artifactId>
|
||||||
|
<exclusions>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>org.apache.logging.log4j</groupId>
|
||||||
|
<artifactId>log4j-to-slf4j</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
|
<version>${configuration-processor.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<!-- Actuator监控当前应用的健康,虚拟机等信息,通过前端以可视化的界面展示出来 -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||||
|
<version>${configuration-processor.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<!--避免idea后端配置类报红-->
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-autoconfigure</artifactId>
|
<artifactId>spring-boot-autoconfigure</artifactId>
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
package com.njcn.influx.utils;
|
package com.njcn.influx.utils;
|
||||||
|
|
||||||
import cn.hutool.core.date.DatePattern;
|
import cn.hutool.core.date.DatePattern;
|
||||||
import com.njcn.common.pojo.exception.BusinessException;
|
|
||||||
|
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
|
|||||||
Reference in New Issue
Block a user