瀏覽代碼

Merge branch 'dev/v1.1.36_fuwencai' of BaseService/jyMicroservices into feature/v1.1.36

fuwencai 1 年之前
父節點
當前提交
c3383098e4
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      jyBXCore/rpc/service/participateStatistics.go

+ 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{}{}
 				}