This commit is contained in:
苏尹岚
2020-12-29 11:16:50 +08:00
parent 2b275a7b03
commit c3c45852b4
4 changed files with 14 additions and 16 deletions

View File

@@ -184,12 +184,7 @@ func getOrderDetailBrief(order *model.GoodsOrder) (brief string) {
if order.EarningType == model.EarningTypePoints {
price = order.ActualPayPrice
} else {
stores, _ := dao.GetStoreList(dao.GetDB(), []int{jxutils.GetSaleStoreIDFromOrder(order)}, []int{510100}, nil, nil, "")
if len(stores) > 0 {
price = order.ActualPayPrice
} else {
price = order.ShopPrice
}
price = order.ShopPrice
}
}
sb.WriteString(jxutils.IntPrice2StandardString(price))