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
b86e23eb
Commit
b86e23eb
authored
Jul 31, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业绩修改
parent
bee2bf37
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Performance.php
application/index/controller/Performance.php
+2
-1
TAgentTotalModel.php
application/model/TAgentTotalModel.php
+2
-0
No files found.
application/index/controller/Performance.php
View file @
b86e23eb
...
...
@@ -74,7 +74,7 @@ class Performance extends Basic
// // "start_day" =>"",
// );
$params
[
"type"
]
=
2
;
$pageNo
=
empty
(
$this
->
params
[
'pageNo'
])
?
1
:
$this
->
params
[
'pageNo'
];
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
15
:
$this
->
params
[
'pageSize'
];
//默认排序一周 2018-07-18改为本月
...
...
@@ -114,6 +114,7 @@ class Performance extends Basic
// );
$params
[
"type"
]
=
1
;
$pageNo
=
empty
(
$this
->
params
[
'pageNo'
])
?
1
:
$this
->
params
[
'pageNo'
];
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
15
:
$this
->
params
[
'pageSize'
];
...
...
application/model/TAgentTotalModel.php
View file @
b86e23eb
...
...
@@ -113,6 +113,8 @@ class TAgentTotalModel extends Model
->
where
(
$params
)
->
group
(
$group_
)
->
order
(
$order
)
->
limit
(
$pageSize
)
->
page
(
$pageNo
)
->
select
();
// echo $this->db_->getLastSql();
return
$result
;
...
...
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