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
caefec30
Commit
caefec30
authored
Oct 23, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业绩
parent
ef192fc4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
PerformanceService.php
application/index/service/PerformanceService.php
+9
-1
TAgentTotalModel.php
application/model/TAgentTotalModel.php
+1
-1
No files found.
application/index/service/PerformanceService.php
View file @
caefec30
...
...
@@ -444,7 +444,15 @@ class PerformanceService
foreach
(
$arr
as
$key
=>
$v
)
{
$e_data_old
[
'index'
]
=
$v
[
"index_"
];
//排名
$e_data_old
[
'district_name'
]
=
$v
[
'store_name'
]
.
'-'
.
$v
[
'name'
];
//部门
if
(
$type
==
1
){
$e_data_old
[
'district_name'
]
=
$v
[
'name'
];
//个人
}
elseif
(
$type
==
2
){
$e_data_old
[
'district_name'
]
=
$v
[
'store_name'
];
//门店
}
else
{
$e_data_old
[
'district_name'
]
=
$v
[
'district_name'
];
//部门
}
$e_data_old
[
'performance_total'
]
=
$v
[
'performance_total'
];
//业绩
$e_data_old
[
'bargain_sum_total'
]
=
$v
[
'bargain_sum_total'
];
//成交单数
$e_data_old
[
'paylog_total'
]
=
$v
[
'paylog_total'
];
//收款数
...
...
application/model/TAgentTotalModel.php
View file @
caefec30
...
...
@@ -136,7 +136,7 @@ class TAgentTotalModel extends Model
->
group
(
$group_
)
->
order
(
$order
)
->
select
();
echo
$this
->
db_
->
getLastSql
();
//
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