银豹查询条码

This commit is contained in:
苏尹岚
2020-03-26 11:48:00 +08:00
parent 9ff9987efd
commit b23e5e1fc1

View File

@@ -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