市场专员业绩提成bug修正

master
zhengyongxing 5 years ago
parent e4d1ced122
commit 44feb6957d

@ -311,9 +311,9 @@ class MarketPercentageController extends ThinkController
data2csv($data,'市场业绩提成',$title); data2csv($data,'市场业绩提成',$title);
} }
$arraypage = $p; // $arraypage = $p;
$size = $row;//每页显示的记录数 // $size = $row;//每页显示的记录数
$data = array_slice($data, ($arraypage - 1) * $size, $size); // $data = array_slice($data, ($arraypage - 1) * $size, $size);
$this->assign("list_data",$data); $this->assign("list_data",$data);
$this->display("marketstaffsettle"); $this->display("marketstaffsettle");
@ -345,7 +345,7 @@ class MarketPercentageController extends ThinkController
->select(); ->select();
} else { } else {
$data = $data $data = $data
->page($p, $row) // ->page($p, $row)
->order("pay_time DESC") ->order("pay_time DESC")
->select(); ->select();
} }

Loading…
Cancel
Save