From 31e16c8e0bde222cd1cbd39aa5edd343b4b08a24 Mon Sep 17 00:00:00 2001 From: jjxu <428192774@qq.com> Date: Thu, 13 Apr 2023 09:29:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B3=A8=E9=87=8A?= 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 0abaa5b..d356450 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 if req.BaseAuditStatus != 1 { //排除暂存状态 + } else if req.BaseAuditStatus != 1 { //排除暂存状态,需求修改后,这个字段的暂存状态无法作为判断条件了 tx = tx.Where("base_audit_status = ?", req.BaseAuditStatus) }