diff --git a/app/mix/dao/mongo.go b/app/mix/dao/mongo.go index 5d2fbd57..6cba7580 100644 --- a/app/mix/dao/mongo.go +++ b/app/mix/dao/mongo.go @@ -2789,7 +2789,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) @@ -2824,7 +2825,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)