Browse Source

Merge remote-tracking branch 'origin/master'

zhangweixin 4 years ago
parent
commit
65b183447c

+ 2 - 3
datacenter/src/main/kotlin/com/persagy/server/services/relation_calc/RelationCalcService.kt

@@ -171,7 +171,7 @@ open class RelationCalcService {
                 return SBaseResponse(SResponseType.success)
             }
 //            else {
-//                upDateBiaoji(projectId, "bd2sp", 5)
+                upDateBiaoji(projectId, "bd2sp", 5)
 //            }
             upDate(projectId, "bd2sp")
             return SBaseResponse(SResponseType.success)
@@ -1018,12 +1018,11 @@ open class RelationCalcService {
      */
     fun upDate(projectId: String, type: String) {
         try {
-
             val entity = relationTypeProjectservice.select(SFilter.eq("projectId", projectId), SFilter.eq("relationType", type)).entity()
             if (entity != null) {
                 entity.computationalState = 1
                 entity.computingTime = IdUtils.time()
-                RUpDateEquipAndSapceService.relationTypeProjectservice.update(entity)
+                relationTypeProjectservice.update(entity)
             }
         } catch (e: Exception) {
             e.printStackTrace()