From af109513b6d5de641a66f26e924af39a5ad60954 Mon Sep 17 00:00:00 2001 From: jjxu <428192774@qq.com> Date: Thu, 13 Apr 2023 09:23:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E6=9C=AC=E7=94=BB=E4=BD=9C=E5=AE=A1?= =?UTF-8?q?=E6=89=B9=E5=88=97=E8=A1=A8=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/internal/dao/artistinfo_artwork.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/internal/dao/artistinfo_artwork.go b/cmd/internal/dao/artistinfo_artwork.go index 22eaa3b..0abaa5b 100644 --- a/cmd/internal/dao/artistinfo_artwork.go +++ b/cmd/internal/dao/artistinfo_artwork.go @@ -151,7 +151,7 @@ func GetArtworkLockRecords(req *artistInfoArtwork.GetArtworkLockRecordsRequest) if req.BaseAuditStatus == 2 { //现要求暂存的画作也支持在待审核列表展示和审批 tx = tx.Where("base_audit_status = ? OR base_audit_status =1", req.BaseAuditStatus) - } else { + } else if req.BaseAuditStatus != 1 { //排除暂存状态 tx = tx.Where("base_audit_status = ?", req.BaseAuditStatus) }