فهرست منبع

***********************WX*****************************
关系调整

张维新 4 سال پیش
والد
کامیت
f3315889f5

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

@@ -72,6 +72,7 @@ class REq2Sp : RBaseInfo(){
 
     /** 空间类型 */
     @Schema(description = "空间类型 " )
+    @Id
     @Column(name = "zone_type")
     var zoneType: String? = null
 

+ 1 - 0
datacenter/src/main/kotlin/com/persagy/server/services/relation_calc/RelationCalcService.kt

@@ -1211,6 +1211,7 @@ open class RelationCalcService {
                 val entity = relationTypeProjectservice.select(SFilter.eq("projectId", projectId), SFilter.eq("relationType", "eq2sp_for"), SFilter.eq("zoneType", tables!!)).entity()
                 if (entity != null) {
                     entity.computationalState = 5
+                    entity.computingTime = IdUtils.time()
                     relationTypeProjectservice.update(entity)
                 }
             }