Commit 84fdc257 authored by clone's avatar clone

bug

parent 9937d25f
......@@ -42,12 +42,12 @@ class TradeLog extends Basic
public function getTradeList()
{
$params = $this->params;
/* $params = array(
"user_id" => "1",
"phone" => "158****6165",
"pageNo" => 1,
"pageSize" => 15,
);*/
/* $params = array(
"user_id" => "4",
"phone" => "18521095110",
"pageNo" => 1,
"pageSize" => 15,
);*/
$pageNo = empty($params['pageNo']) ? 1 : $params['pageNo'];
$pageSize = empty($params['pageSize']) ? 15 : $params['pageSize'];
......@@ -59,7 +59,7 @@ class TradeLog extends Basic
}
$order_ = 'a.created desc';
$field = "min(a.id) as id,a.tradecode,a.singntime,b.phpone,b.house_id,b.agent_id";
$field = "min(a.id) as id,a.tradecode,a.created as singntime,b.phpone,b.house_id,b.agent_id";
$result = $this->journalAccountsMode->getJournalAccountsList($pageNo, $pageSize, $order_, $field, $params);
if (count($result) <= 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment