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
b9de9ede
Commit
b9de9ede
authored
Jun 06, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
30f45cc9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
OfficeReportService.php
application/api_broker/service/OfficeReportService.php
+6
-5
No files found.
application/api_broker/service/OfficeReportService.php
View file @
b9de9ede
...
...
@@ -126,7 +126,7 @@ class OfficeReportService
// $agentArr = $vModel->getAgentsByAgentId($params["report_agent_id"]);
$params
[
"agent_id_s"
]
=
array
(
"in"
,
$params
[
"report_agent_id"
]);
$caseHouseId
=
$this
->
vModel
->
getCaseRoomByAgentId
(
$params
[
"agent_id_s"
],
"1,2,3"
);
$caseHouseId
=
$this
->
vModel
->
getCaseRoomByAgentId
(
$params
[
"agent_id_s"
],
"1,2,3"
);
$ids
=
""
;
if
(
count
(
$caseHouseId
)
>
0
)
{
foreach
(
$caseHouseId
as
$item
)
{
...
...
@@ -212,7 +212,7 @@ class OfficeReportService
$agentArr
=
$this
->
vModel
->
getAgentsByAgentIdAndType
(
$params
[
"report_agent_id"
],
$check_type
);
$params
[
"agent_id_s"
]
=
array
(
"in"
,
$agentArr
);
$params
[
"report_agent_id"
]
=
$agentArr
;
$caseHouseId
=
$this
->
vModel
->
getCaseRoomByAgentId
(
$params
[
"agent_id_s"
],
"2,3"
);
$caseHouseId
=
$this
->
vModel
->
getCaseRoomByAgentId
(
$params
[
"agent_id_s"
],
"2,3"
);
$ids
=
""
;
if
(
count
(
$caseHouseId
)
>
0
)
{
foreach
(
$caseHouseId
as
$item
)
{
...
...
@@ -251,7 +251,7 @@ class OfficeReportService
$params
[
"report_agent_id"
]
=
$agentArr
;
}
$caseHouseId
=
$this
->
vModel
->
getCaseRoomByAgentId
(
$params
[
"agent_id_s"
],
"1"
);
$caseHouseId
=
$this
->
vModel
->
getCaseRoomByAgentId
(
$params
[
"agent_id_s"
],
"1"
);
$ids
=
""
;
if
(
count
(
$caseHouseId
)
>
0
)
{
foreach
(
$caseHouseId
as
$item
)
{
...
...
@@ -426,8 +426,9 @@ class OfficeReportService
$result
[
"collectingBill"
]
=
true
;
$result
[
"refund"
]
=
true
;
$result
[
"bargain"
]
=
true
;
return
$result
;
}
}
}
else
{
$auth_arr
=
[
'office/marchIn'
,
'office/collectingBill'
,
...
...
@@ -453,7 +454,7 @@ class OfficeReportService
}
}
}
}
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