银豹查询条码
This commit is contained in:
@@ -124,6 +124,7 @@ type tGetStoresSkusInfo struct {
|
||||
PayPercentage int `json:"-"`
|
||||
dao.StoreSkuExt
|
||||
RealMidUnitPrice int `json:"realMidUnitPrice"` //真实的该商品的全国中位价
|
||||
YbSkuName string
|
||||
}
|
||||
|
||||
type SheetParam struct {
|
||||
@@ -540,8 +541,6 @@ func GetStoresSkusNew(ctx *jxcontext.Context, storeIDs, skuIDs []int, isFocus, i
|
||||
}
|
||||
var tmpList []*tGetStoresSkusInfo
|
||||
beginTime := time.Now()
|
||||
fmt.Println(sql)
|
||||
fmt.Println(sqlParams)
|
||||
if err = dao.GetRows(db, &tmpList, sql, sqlParams...); err != nil {
|
||||
dao.Rollback(db)
|
||||
return nil, err
|
||||
@@ -563,6 +562,7 @@ func GetStoresSkusNew(ctx *jxcontext.Context, storeIDs, skuIDs []int, isFocus, i
|
||||
UnitPrice: v.UnitPrice,
|
||||
PayPercentage: v.PayPercentage,
|
||||
RealMidUnitPrice: v.RealMidUnitPrice,
|
||||
YbSkuName: v.YbSkuName,
|
||||
}
|
||||
if !isBySku {
|
||||
storeNameMap[index] = storeName
|
||||
|
||||
Reference in New Issue
Block a user