Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
84fdc257
Commit
84fdc257
authored
Jan 05, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
9937d25f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
TradeLog.php
application/api/controller/TradeLog.php
+7
-7
No files found.
application/api/controller/TradeLog.php
View file @
84fdc257
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment