This commit is contained in:
suyl
2021-06-23 10:05:42 +08:00
parent 2a349c0f44
commit e684b3c15c

View File

@@ -369,6 +369,8 @@ func (c *OrderManager) GetOrders(ctx *jxcontext.Context, isIncludeFake bool, fro
`
sqlParams := []interface{}{model.AfsOrderStatusFinished, order.VendorOrderID,
model.YES}
fmt.Println(sql)
fmt.Println(sqlParams)
if err = dao.GetRow(db, &afsOrder, sql, sqlParams); err == nil && afsOrder != nil {
if afsOrder.AfsTotalShopMoney != 0 {
//报价,要减去商品的京西价