|
@@ -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()
|