by Robin at 20240207;

This commit is contained in:
Leufolium 2024-02-07 12:23:27 +08:00
parent 12870ef2fd
commit 22c605022d
1 changed files with 4 additions and 2 deletions

View File

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