diff --git a/app/mix/dao/mongo.go b/app/mix/dao/mongo.go index 4fbab1bb..f9979ab5 100644 --- a/app/mix/dao/mongo.go +++ b/app/mix/dao/mongo.go @@ -2791,7 +2791,8 @@ func (m *Mongo) GetAlignedImageAuditTaskList(ctx *gin.Context, req *alignedaudit list := make([]*dbstruct.ImageAuditTask, 0) col := m.getColImageAuditTask() query := qmgo.M{ - "del_flag": 0, + "is_aligned": consts.ImageAuditIsAligned_Yes, + "del_flag": 0, } if req.RouteUrl != nil { query["route_url"] = util.DerefString(req.RouteUrl) @@ -2826,7 +2827,8 @@ func (m *Mongo) GetAlignedTextAuditTaskList(ctx *gin.Context, req *alignedauditt list := make([]*dbstruct.TextAuditTask, 0) col := m.getColTextAuditTask() query := qmgo.M{ - "del_flag": 0, + "is_aligned": consts.ImageAuditIsAligned_Yes, + "del_flag": 0, } if req.RouteUrl != nil { query["route_url"] = util.DerefString(req.RouteUrl)