fuwencai 1 vuosi sitten
vanhempi
commit
9c13a59cc7
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      jyBXCore/rpc/service/participateStatistics.go

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

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