From f7ccbf9dde4b6ccc3c7e2aceb225aff684be3d80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 13 Feb 2025 17:00:58 +0800 Subject: [PATCH] 1 --- business/jxcallback/orderman/orderman_ext.go | 1 + business/model/api.go | 1 + 2 files changed, 2 insertions(+) diff --git a/business/jxcallback/orderman/orderman_ext.go b/business/jxcallback/orderman/orderman_ext.go index 950cfd1c2..521165499 100644 --- a/business/jxcallback/orderman/orderman_ext.go +++ b/business/jxcallback/orderman/orderman_ext.go @@ -146,6 +146,7 @@ func (c *OrderManager) GetOrderSkuInfo(ctx *jxcontext.Context, vendorOrderID str t3.desc_img descImg, t3.price price, b.location_code locationCode2, + b.location_code locationCode, b.stock skuStock, t3.upc FROM order_sku t1 diff --git a/business/model/api.go b/business/model/api.go index cddb55131..2a3a3a112 100644 --- a/business/model/api.go +++ b/business/model/api.go @@ -87,6 +87,7 @@ type OrderSkuExt struct { Upc string `json:"upc"` // Price int64 `json:"price"` // 商品库价格 LocationCode2 string `orm:"column(locationCode2)" json:"locationCode2"` // 本地商品货架码 + LocationCode string `orm:"column(locationCode)" json:"locationCode"` // 本地商品货架码 SkuStock int64 `orm:"column(skuStock)" json:"skuStock"` // 商品库存 // RealEarningPrice int64 `json:"realEarningPrice"` // 实际单品结算给门店老板钱