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
daed6b77
Commit
daed6b77
authored
Oct 11, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
2c8ed8ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
Member.php
application/index/controller/Member.php
+1
-1
PerformanceService.php
application/index/service/PerformanceService.php
+5
-2
No files found.
application/index/controller/Member.php
View file @
daed6b77
...
...
@@ -327,7 +327,7 @@ class Member extends Basic{
//查询客户是否在保护期内
//判断客户是否超过24小时保护期间 0:保护器内 1:超过保护期
$user_service
=
new
UserService
();
$is_outstrip_twenty_four_hours
=
$user_service
->
isUserProtect
(
$v
[
"
user_
id"
]);
$is_outstrip_twenty_four_hours
=
$user_service
->
isUserProtect
(
$v
[
"id"
]);
$data_list
[
$k
][
'is_outstrip_twenty_four_hours'
]
=
$is_outstrip_twenty_four_hours
;
...
...
application/index/service/PerformanceService.php
View file @
daed6b77
...
...
@@ -311,6 +311,7 @@ class PerformanceService
*/
public
function
totalAgentExcel
(
$type
,
$yesterday
,
$end_day
,
$father_id
,
$params
)
{
$where_
=
[];
if
(
$father_id
){
if
(
$type
==
1
){
...
...
@@ -412,9 +413,11 @@ class PerformanceService
break
;
}
}
//dump(json_encode($
arr
));exit;
//dump(json_encode($
where_
));exit;
//return ['list'=>$arr,'total'=>0];
if
(
!
$arr
){
exit
(
'暂无数据'
);
}
$export
=
new
ExportExcelUntil
();
foreach
(
$arr
as
$key
=>
$v
)
{
...
...
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