京西折扣修改
This commit is contained in:
@@ -1529,7 +1529,15 @@ func ChangeJxPriceByDiscountAct(ctx *jxcontext.Context) {
|
||||
if len(actStoreSkus) == 0 {
|
||||
continue
|
||||
}
|
||||
for _, actStoreSku := range actStoreSkus {
|
||||
for _, actStoreSku2 := range actStoreSkus {
|
||||
actStoreSku := &model.ActStoreSku{
|
||||
ActID: actStoreSku2.ActID,
|
||||
OriginalPrice: actStoreSku2.OriginalPrice,
|
||||
StoreID: actStoreSku2.StoreID,
|
||||
SkuID: actStoreSku2.SkuID,
|
||||
TrendPrcie: actStoreSku2.TrendPrcie,
|
||||
TrendType: actStoreSku2.TrendType,
|
||||
}
|
||||
storeSkus, _ := dao.GetStoresSkusInfo(db, []int{actStoreSku.StoreID}, []int{actStoreSku.SkuID})
|
||||
if len(storeSkus) == 0 {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user