门店审核

This commit is contained in:
苏尹岚
2020-09-16 11:05:10 +08:00
parent f158420aee
commit 3d4b13eb98
2 changed files with 18 additions and 2 deletions

View File

@@ -165,7 +165,7 @@ func result2Orders(msg *jdshopapi.CallBackResult) (order *model.GoodsOrder, err
storeSkuList, _ := dao.GetStoresSkusInfo(dao.GetDB(), []int{order.StoreID}, []int{sku.SkuID})
if len(storeSkuList) > 0 && storeSkuList[0].Status == model.StoreSkuBindStatusNormal {
saleNormalSum += 1
shopPriceSum += storeSkuList[0].Price
shopPriceSum += storeSkuList[0].Price * sku.Count
}
}
//可售数小于一半就不行
@@ -190,7 +190,6 @@ func result2Orders(msg *jdshopapi.CallBackResult) (order *model.GoodsOrder, err
}
}
}
break
}
} else {