初始版本提交
This commit is contained in:
@@ -22,11 +22,7 @@
|
||||
<artifactId>common-core</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.njcn</groupId>
|
||||
<artifactId>common-db</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.njcn</groupId>
|
||||
<artifactId>common-microservice</artifactId>
|
||||
|
||||
@@ -40,22 +40,22 @@ public class BeanVConverter {
|
||||
// dataV.setRmscaCp95();
|
||||
|
||||
//根据电压偏差正负赋值
|
||||
if (messageDataV.getDeltaV() >= 0) {
|
||||
if (Objects.nonNull(messageDataV.getDeltaV())&&messageDataV.getDeltaV() >= 0) {
|
||||
dataVRelation.setVlDev(messageDataV.getDeltaV());
|
||||
} else {
|
||||
dataVRelation.setVuDev(messageDataV.getDeltaV());
|
||||
}
|
||||
if (messageDataV.getGDeltaV() >= 0) {
|
||||
if (Objects.nonNull(messageDataV.getGDeltaV())&&messageDataV.getGDeltaV() >= 0) {
|
||||
dataVRelation.setVlDevCp95(messageDataV.getGDeltaV());
|
||||
} else {
|
||||
dataVRelation.setVuDevCp95(messageDataV.getGDeltaV());
|
||||
}
|
||||
if (messageDataV.getDeltaV() >= 0) {
|
||||
if (Objects.nonNull(messageDataV.getMaxDeltaV())&&messageDataV.getMaxDeltaV() >= 0) {
|
||||
dataVRelation.setVlDevMax(messageDataV.getDeltaV());
|
||||
} else {
|
||||
dataVRelation.setVuDevMax(messageDataV.getDeltaV());
|
||||
}
|
||||
if (messageDataV.getDeltaV() >= 0) {
|
||||
if (Objects.nonNull(messageDataV.getMinDeltaV())&&messageDataV.getMinDeltaV() >= 0) {
|
||||
dataVRelation.setVlDevMin(messageDataV.getDeltaV());
|
||||
} else {
|
||||
dataVRelation.setVuDevMin(messageDataV.getDeltaV());
|
||||
|
||||
@@ -33,11 +33,6 @@
|
||||
<artifactId>common-swagger</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mybatis</groupId>
|
||||
<artifactId>mybatis-spring</artifactId>
|
||||
<version>2.0.5</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.njcn.platform</groupId>
|
||||
<artifactId>message-api</artifactId>
|
||||
@@ -49,18 +44,26 @@
|
||||
<artifactId>data-processing-api</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<scope>compile</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>common-db</artifactId>
|
||||
<groupId>com.njcn</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.njcn.platform</groupId>
|
||||
<artifactId>stat-api</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<scope>compile</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>common-db</artifactId>
|
||||
<groupId>com.njcn</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
||||
<version>3.5.1</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
Reference in New Issue
Block a user