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
f6271e38
Commit
f6271e38
authored
Apr 15, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
5505ec98
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
OrderLogService.php
application/api_broker/service/OrderLogService.php
+6
-4
ResultsSummaryTask.php
application/task/controller/ResultsSummaryTask.php
+0
-4
No files found.
application/api_broker/service/OrderLogService.php
View file @
f6271e38
...
...
@@ -719,6 +719,7 @@ class OrderLogService
case
1
:
$params
[
"a.houses_id"
]
=
$result
[
0
][
"house_id"
];
$params
[
"a.type"
]
=
2
;
$params
[
"a.is_del"
]
=
0
;
$params
[
"b.status"
]
=
0
;
$list
=
$houseAgents
->
getAgentsByHouseId
(
$field
,
$params
);
break
;
...
...
@@ -729,14 +730,15 @@ class OrderLogService
$list
=
$userModel
->
getAgentByUserId
(
$field
,
$params
);
break
;
case
3
:
//反签 == 报备人
$reportModel
=
new
OReportModel
();
$params
[
"a.id"
]
=
$result
[
0
][
"report_id"
];
$params
[
"b.status"
]
=
0
;
$list
=
$reportModel
->
getAgentByOrderId
(
$field
,
$params
);
$reportModel
=
new
OReportModel
();
$params
[
"a.id"
]
=
$result
[
0
][
"report_id"
];
$params
[
"b.status"
]
=
0
;
$list
=
$reportModel
->
getAgentByOrderId
(
$field
,
$params
);
break
;
case
4
:
$params
[
"a.houses_id"
]
=
$result
[
0
][
"house_id"
];
$params
[
"a.type"
]
=
3
;
$params
[
"a.is_del"
]
=
0
;
$params
[
"b.status"
]
=
0
;
$list
=
$houseAgents
->
getAgentsByHouseId
(
$field
,
$params
);
break
;
...
...
application/task/controller/ResultsSummaryTask.php
View file @
f6271e38
...
...
@@ -69,7 +69,6 @@ class ResultsSummaryTask
private
function
executeTotal
(
$resultArr
)
{
set_time_limit
(
0
);
foreach
(
$resultArr
as
$key
=>
$value
)
{
$param
[
"agent_id"
]
=
$value
[
"id"
];
$param
[
"is_del"
]
=
0
;
...
...
@@ -102,7 +101,6 @@ class ResultsSummaryTask
private
function
selectTotal
(
$agent_id
,
$district_id
,
$store_id
,
$start_total_time
,
$end_total_time
)
{
set_time_limit
(
0
);
//todo 如果查询出这个时间段都为0 则给此经纪人插入条最后一个日期的为空的数据
$result_arr
=
[];
$start_total_time
=
$start_total_time
.
" 00:00:00"
;
...
...
@@ -155,7 +153,6 @@ class ResultsSummaryTask
private
function
foreachResult
(
$list
)
{
set_time_limit
(
0
);
$result
=
[];
if
(
count
(
$list
)
<=
0
)
{
/*$day = date("Y-m-d", strtotime("-1 day"));
...
...
@@ -171,7 +168,6 @@ class ResultsSummaryTask
private
function
binAgentModel
(
$agent_id
,
$district_id
,
$store_id
,
$result_arr
,
$start_total_time
,
$end_total_time
)
{
set_time_limit
(
0
);
$params
=
[];
$i
=
0
;
while
(
$start_total_time
<=
$end_total_time
)
{
...
...
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