fuwencai 1 жил өмнө
parent
commit
35d1d8a235

+ 4 - 1
jyBXCore/rpc/service/participateStatistics.go

@@ -360,8 +360,11 @@ func ProjectHandle(data *[]map[string]interface{}, users *[]map[string]interface
 					(*result)[userId].StageStr = map[string]string{}
 				}
 				(*result)[userId].StageStr[project_id] = stage
-				isEnd_ := common.IntAll(v["is_end"])
+				isEnd_ := common.IntAll(v["isend"])
 				if isEnd_ == 1 {
+					if (*result)[userId].EndProject == nil {
+						(*result)[userId].EndProject = map[string]struct{}{}
+					}
 					// 标记成已结束
 					(*result)[userId].EndProject[project_id] = struct{}{}
 				}