feat-IRONFANS-70 #252

Merged
chenhao merged 2 commits from feat-IRONFANS-70 into test 2024-04-11 15:55:41 +08:00
1 changed files with 2 additions and 2 deletions

View File

@ -4226,11 +4226,11 @@ func (m *Mongo) IncZoneMomentPriorityByIds(ctx *gin.Context, ids []int64, increm
}
if increment == consts.ZoneMomentPriorityInZone_Increment {
up["$set"] = qmgo.M{
"is_headed": consts.IsHeaded_Yes,
"is_headed": int64(consts.IsHeaded_Yes),
}
} else {
up["$set"] = qmgo.M{
"is_headed": consts.IsHeaded_No,
"is_headed": int64(consts.IsHeaded_No),
}
}
_, err := col.UpdateAll(ctx, query, up)