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