From 22c605022d181e7109a2b5f789563d7d3a9ab1bb Mon Sep 17 00:00:00 2001 From: Leufolium Date: Wed, 7 Feb 2024 12:23:27 +0800 Subject: [PATCH] by Robin at 20240207; --- app/mix/dao/mongo.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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)