|
@@ -356,7 +356,7 @@ func ProjectHandle(data *[]map[string]interface{}, users *[]map[string]interface
|
|
|
project_id := common.InterfaceToStr(common.InterfaceToStr(v["project_id"]))
|
|
|
if (*result)[userId] != nil {
|
|
|
stage := common.ObjToString(v["bid_stage"])
|
|
|
- if _, ok := (*result)[userId].StageStr[project_id]; !ok {
|
|
|
+ if (*result)[userId].StageStr == nil {
|
|
|
(*result)[userId].StageStr = map[string]string{}
|
|
|
}
|
|
|
(*result)[userId].StageStr[project_id] = stage
|