diff --git a/business/model/dao/dao_order.go b/business/model/dao/dao_order.go index 875dcde7a..73cbc293f 100644 --- a/business/model/dao/dao_order.go +++ b/business/model/dao/dao_order.go @@ -779,7 +779,7 @@ func GetOrders(db *DaoDB, ids []int64, isIncludeSku, isIncludeFake bool, fromDat t5.pay_percentage, t5.old_pay_percentage, t5.market_man_phone, tu.name market_man_name, t6.vendor_pay_percentage, city.name city_name, district.name district_name, - IF(t1.earning_type = 1, t1.total_shop_money-t1.earning_price-IFNULL(t2.desired_fee,0), t1.total_shop_money *(100- t1.order_pay_percentage/2)) jx_income`, model.DefaultEarningPricePercentage) + ROUND(IF(t1.earning_type = 1, t1.total_shop_money-t1.earning_price-IFNULL(t2.desired_fee,0), t1.total_shop_money *(100- t1.order_pay_percentage/2)/100)) jx_income`, model.DefaultEarningPricePercentage) if isIncludeSku { sql += `, IF(t3.jx_sku_id > 0, t3.jx_sku_id, t3.sku_id) sku_id,