|
|
|
@ -157,9 +157,6 @@ class PayMerchantController extends ThinkController
|
|
|
|
|
->select();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// var_dump($data);die();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$count = M()->table("({$sql})a")
|
|
|
|
|
->field("merchant_id")
|
|
|
|
|
->page($p, $row)
|
|
|
|
@ -183,6 +180,15 @@ class PayMerchantController extends ThinkController
|
|
|
|
|
// ->where($map)
|
|
|
|
|
->find();
|
|
|
|
|
|
|
|
|
|
$sum['cash_amount'] = round ($sum['cash_amount'],2);
|
|
|
|
|
$sum['test_amount'] = round ($sum['test_amount'],2);
|
|
|
|
|
$sum['coin_amount'] = round ($sum['coin_amount'],2);
|
|
|
|
|
$sum['offcial_amount'] = round ($sum['offcial_amount'],2);
|
|
|
|
|
$sum['spread_amount'] = round ($sum['spread_amount'],2);
|
|
|
|
|
$sum['offcial_amount'] = round ($sum['supersign_amount'],2);
|
|
|
|
|
$sum['spread_amount'] = round ($sum['test_order_amount'],2);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$sum['sum'] = $sum['cash_amount']+$sum['test_amount']+$sum['coin_amount']+$sum['offcial_amount']
|
|
|
|
|
+$sum['spread_amount']+$sum['supersign_amount']+$sum['test_order_amount'];
|
|
|
|
|
|
|
|
|
|