From 29145f413d2105de710e2ca3a02ef61400e09375 Mon Sep 17 00:00:00 2001 From: sian Date: Mon, 31 Oct 2022 11:05:17 +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/sku.go | 32 ++++++++++++++++++-------------- supply/skuAudit.go | 1 + 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/supply/sku.go b/supply/sku.go index 245ce7b..4431d6c 100644 --- a/supply/sku.go +++ b/supply/sku.go @@ -109,20 +109,23 @@ type ArgsSkuLists struct { } type SkuListsSearch struct { - Id uint // 瑞库客id - Name string // 商品名称 - SourceId uint // 所属供应商 1=京东 - SourceSkuId uint // 供应商skuId - BrandId uint // 品牌Id - ThirdCategoryId uint // 三级分类Id - AdjustType uint // 加价规则 - MaxSupplyPrice decimal.Decimal // 最大采购价格 - MinSupplyPrice decimal.Decimal // 最小采购价格 - CustomerProfitRate uint // 客户利润比 1=大于0 2=等于0 3=小于0 - Handle uint // 处理状态 - AuditStatus uint // 审核状态 - SourceStatus uint // 供应商下架状态 - PlatformStatus uint // 平台下架状态 + Id uint // 瑞库客id + Name string // 商品名称 + SourceId uint // 所属供应商 1=京东 + SourceSkuId uint // 供应商skuId + BrandId uint // 品牌Id + ThirdCategoryId uint // 三级分类Id + AdjustType uint // 加价规则 + MaxSupplyPrice decimal.Decimal // 最大采购价格 + MinSupplyPrice decimal.Decimal // 最小采购价格 + CustomerProfitRate uint // 客户利润比 1=大于0 2=等于0 3=小于0 + Handle uint // 处理状态 + AuditStatus uint // 审核状态 + SourceStatus uint // 供应商下架状态 + PlatformStatus uint // 平台下架状态 + AdjustAuditStatus uint // 改价审核状态 + AdjustAuditMinDiscount decimal.Decimal // 改价后最小折扣 + AdjustAuditMaxDiscount decimal.Decimal // 改价后最大折扣 } type ReplySkuList struct { @@ -153,6 +156,7 @@ type SkuItem struct { AfterAdjustType uint `json:"afterAdjustType"` // 改价后加价类型 AfterAdjustPrice decimal.Decimal `json:"afterAdjustPrice"` // 改价后加价金额 AfterPrice decimal.Decimal `json:"afterPrice"` // 改价记录 + AfterDiscount decimal.Decimal `json:"afterDiscount"` // 改价后折扣 Reason string // 改价驳回原因 } diff --git a/supply/skuAudit.go b/supply/skuAudit.go index d013923..3d44c46 100644 --- a/supply/skuAudit.go +++ b/supply/skuAudit.go @@ -106,6 +106,7 @@ type ApplyHistorySearch struct { Id uint // 瑞库客id Name string // 商品名称 SourceId uint // 所属供应商 1=京东 + SourceSonId uint // 沙马供应商的供应商 SourceSkuId uint // 供应商skuId BrandId uint // 品牌Id ThirdCategoryId uint // 三级分类Id