songwenbin 1 år sedan
förälder
incheckning
3ca3911d31

+ 5 - 0
build.gradle

@@ -15,6 +15,11 @@ subprojects {
     dependencies {
         compileOnly("org.projectlombok:lombok:$lombokVersion")
         annotationProcessor("org.projectlombok:lombok:$lombokVersion")
+
+        implementation("org.apache.logging.log4j:log4j-core:$log4jVersion")
+        implementation("org.apache.logging.log4j:log4j-jul:$log4jVersion")
+        implementation("org.apache.logging.log4j:log4j-api:$log4jVersion")
+        implementation("org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion")
     }
 
     repositories {

+ 3 - 0
electricity/meter/README.md

@@ -2,6 +2,9 @@
 ## electricity  发电量计算
 ### meter 电计量数据读取、实际发电量、用电量等电量指标的计算
 
+1. 对照底码表,实现线路发电量、场站发电量、上网电量、购网电量、厂用电量的计算
+2、实现风机的日发电量、场站scada发电量
+
 
 
 

+ 2 - 5
electricity/meter/build.gradle

@@ -28,11 +28,8 @@ dependencies {
 
     implementation("$bootGroup:spring-boot-starter-web")
     implementation("$bootGroup:spring-boot-starter-undertow")
-    implementation("$bootGroup:spring-boot-starter-websocket")
-    implementation("org.apache.logging.log4j:log4j-core:$log4jVersion")
-    implementation("org.apache.logging.log4j:log4j-jul:$log4jVersion")
-    implementation("org.apache.logging.log4j:log4j-api:$log4jVersion")
-    implementation("org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion")
+//    implementation("$bootGroup:spring-boot-starter-websocket")
+
 
     implementation ("org.postgresql:postgresql:$postgresqlDriverVersion")
     implementation "com.baomidou:mybatis-plus-boot-starter:$mybatisPlusVersion"

+ 0 - 2
electricity/meter/src/main/resources/bootstrap.yaml

@@ -20,8 +20,6 @@ spring:
         # 共享配置
         shared-configs:
           - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
-  jpa:
-    show-sql: false
   cache:
     type: SIMPLE
   datasource:

+ 1 - 1
gradle.properties

@@ -1,5 +1,5 @@
 group=com.gyee.gaia
-version=1.0.3
+version=1.0.0
 description=Gyee first micoroservice project
 
 sourceCompatibility=1.8