修复字段取值错误的问题

This commit is contained in:
徐俊杰 2023-03-29 23:05:50 +08:00
parent 0af56855e0
commit 01b8c6c6e2

View File

@ -269,7 +269,7 @@ func (a ArtistInfoArtworkLogic) ArtworkStatic(request *artistInfoArtwork.ArtistA
//统计画家素有画作的总数和总平尺数
artworkTotal, rulerTotal = dao.CountAllArtworkTotal(v.ArtistUid)
//统计审核通过的画作总数和平尺总数
passedRulerTotal, passedArtworkTotal = dao.CountArtworkTotalWhichAuditPassed(v.ArtistUid)
passedArtworkTotal, passedRulerTotal = dao.CountArtworkTotalWhichAuditPassed(v.ArtistUid)
//补充画家信息
for _, artistData := range artistList.Data {
if artistData.Uid == v.ArtistUid {