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