Selaa lähdekoodia

******************WX *********************
修改关系发送消息

zhangweixin 4 vuotta sitten
vanhempi
commit
a01c8533f9

+ 1 - 1
data-core/src/main/kotlin/com/persagy/server/datacenter/models/entities/graphtype/rel/RelZoneSpaceConnectedSp.kt

@@ -42,7 +42,7 @@ open class RelZoneSpaceConnectedSp: SpaceBaseZone() {
 
     /** 级联-空间 */
     @Schema(description = "级联-空间")
-    @SCascade(table="relationship.r_sp2sp", idColumn="id1", childIdColumn="id2",self = false,filter = "type = 'sp2sp_SpaceNeighborhood_5';zoneType = 'AirConditioningZone'" )
+    @SCascade(table="relationship.r_sp2sp", idColumn="id1", childIdColumn="id2",self = false,filter = "type = 'sp2sp_SpaceNeighborhood_5' and zone_type = 'AirConditioningZone'" )
     @JSONField(name = "objectInfo")
     var objectInfo: ArrayList<RelZoneSpace>? = null
 

+ 1 - 1
datacenter/src/main/resources/application-dev.yml

@@ -36,7 +36,7 @@ spring:
 #    url:                                jdbc:postgresql://60.205.177.43:5432/datacenterlabsl
 #    url:                                jdbc:postgresql://192.168.64.14:5432/datacenterlabsl
 #    url:                                jdbc:postgresql://192.168.64.15:5432/datacenter
-    url:                                jdbc:postgresql://39.102.40.239:5432/datacenter
+    url:                                jdbc:postgresql://8.140.129.63:5432/datacenter
     username:                           postgres
 #    password:                           persagy_2020qwe!@#
     password:                           cGVyc2FneV8yMDIwcXdlIUAj