From 8b9d0cc18e2203ed3c70cba4456a7951ebd71976 Mon Sep 17 00:00:00 2001 From: jjxu <428192774@qq.com> Date: Wed, 12 Apr 2023 10:07:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=B0=E8=A6=81=E6=B1=82=E6=9A=82=E5=AD=98?= =?UTF-8?q?=E5=92=8C=E9=94=81=E5=AE=9A=E7=9A=84=E7=94=BB=E4=BD=9C=E9=83=BD?= =?UTF-8?q?=E8=83=BD=E8=BF=9B=E8=A1=8C=E5=AE=A1=E6=89=B9=E5=92=8C=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= 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 16a25bf..617c5d3 100644 --- a/cmd/internal/dao/artistinfo_artwork.go +++ b/cmd/internal/dao/artistinfo_artwork.go @@ -137,7 +137,7 @@ func GetArtworkLockRecords(req *artistInfoArtwork.GetArtworkLockRecordsRequest) case artistInfoArtwork.ArtworkQueryMode_NowPreSaveAndLocked: //当前暂存和已锁定的画作(也就是用户端画作管理中的数据) tx = tx.Where("status =1 OR status =2") case artistInfoArtwork.ArtworkQueryMode_NowAuditFlowOfBase: //当前处于基本信息审批阶段的画作(包括进入其它流程的画作) - tx = tx.Where("status = 2 ") // AND audit_flow_index = 2 + tx = tx.Where("status = 1 OR status=2") // 现要求暂存和锁定的画作都能进行审批和展示 case artistInfoArtwork.ArtworkQueryMode_NowAuditFlowOfSupplementing: //当前处于补充信息审批阶段的画作 tx = tx.Where("status =2 AND audit_flow_index = 3") case artistInfoArtwork.ArtworkQueryMode_AllUnlockArtwork: //所有已解锁的画作(历史画作)