UpdateStoreSkuNamePrice
This commit is contained in:
@@ -2909,3 +2909,17 @@ func FocusStoreSkusBySku(ctx *jxcontext.Context, skuIDs []int, isAsync, isContin
|
||||
}
|
||||
return hint, err
|
||||
}
|
||||
|
||||
func UpdateStoreSkuNamePrice(ctx *jxcontext.Context, storeID, nameID, unitPrice int, isAsync bool) (hint string, err error) {
|
||||
// db := dao.GetDB()
|
||||
// skuList, err := dao.GetSkus(db, nil, []int{nameID}, nil, nil)
|
||||
// if err != nil || len(skuList) == 0 {
|
||||
// return "", err
|
||||
// }
|
||||
// var skuIDs []int
|
||||
// for _, v := range skuList {
|
||||
// skuIDs = append(skuIDs, v.ID)
|
||||
// }
|
||||
// actStoreSkuList, err :=dao.GetEffectiveActStoreSkuInfo(db, 0, nil, model.ActSkuDirectDown, []int{storeID}, skuIDs, time.Now(),time.Now())
|
||||
return hint, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user