From d5b4e7b91e84efa42a9e0d9586ac5b46d4a89b54 Mon Sep 17 00:00:00 2001 From: sian Date: Tue, 2 Aug 2022 17:09:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supply/skuAudit.go | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/supply/skuAudit.go b/supply/skuAudit.go index 4dc5ec5..6058a5f 100644 --- a/supply/skuAudit.go +++ b/supply/skuAudit.go @@ -23,24 +23,27 @@ type SkuAuditSearch struct { Status uint // 状态 1=未审核 2=通过 3=驳回 } type SkuAndAuditItem struct { - AuditId uint `json:"auditId"` - SkuId uint `json:"skuId"` - AfterAdjustType uint `json:"afterAdjustType"` - AfterAdjustPrice decimal.Decimal `json:"afterAdjustPrice"` - Name string `json:"name"` - SupplyPrice decimal.Decimal `json:"supplyPrice"` - GuidePrice decimal.Decimal `json:"guidePrice"` - AdjustType uint `json:"adjustType"` - AdjustPrice decimal.Decimal `json:"adjustPrice"` - CustomerPrice decimal.Decimal `json:"customerPrice"` - Category string `json:"category"` - BrandName string `json:"brandName"` - SourceName string `json:"sourceName"` - AuditUserId uint `json:"auditUserId"` - AuditAt sql.NullTime `json:"auditAt"` - ImgUrl string `json:"imgUrl"` - Reason string `json:"reason"` - CreatedAt time.Time `json:"createdAt"` + AuditId uint `json:"auditId"` + SkuId uint `json:"skuId"` + AfterAdjustType uint `json:"afterAdjustType"` + AfterAdjustPrice decimal.Decimal `json:"afterAdjustPrice"` + Name string `json:"name"` + SupplyPrice decimal.Decimal `json:"supplyPrice"` + GuidePrice decimal.Decimal `json:"guidePrice"` + AdjustType uint `json:"adjustType"` + AdjustPrice decimal.Decimal `json:"adjustPrice"` + CustomerPrice decimal.Decimal `json:"customerPrice"` + Category string `json:"category"` + BrandName string `json:"brandName"` + SourceName string `json:"sourceName"` + AuditUserId uint `json:"auditUserId"` + AuditAt sql.NullTime `json:"auditAt"` + ImgUrl string `json:"imgUrl"` + Reason string `json:"reason"` + FirstCategoryName string `json:"firstCategoryName"` + SecondCategoryName string `json:"secondCategoryName"` + ThirdCategoryName string `json:"thirdCategoryName"` + CreatedAt time.Time `json:"createdAt"` } type ReplySkuAuditLists struct {