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
360d8bf9
Commit
360d8bf9
authored
Jul 15, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
04819e85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
ReportService.php
application/api_broker/service/ReportService.php
+7
-3
No files found.
application/api_broker/service/ReportService.php
View file @
360d8bf9
...
@@ -126,7 +126,7 @@ class ReportService
...
@@ -126,7 +126,7 @@ class ReportService
$ids
=
rtrim
(
$ids
,
","
);
$ids
=
rtrim
(
$ids
,
","
);
$ids
=
$ids
?
$ids
:
0
;
$ids
=
$ids
?
$ids
:
0
;
$params
[
"house_ids"
]
=
$ids
;
$params
[
"house_ids"
]
=
$ids
;
$result
=
$this
->
oReportModel
->
selectReportList
(
$field
,
$params
,
$pageNo
,
$pageSize
);
$result
=
$this
->
oReportModel
->
selectReportList
(
$field
,
$params
,
$pageNo
,
$pageSize
);
return
$this
->
returnResult
(
$result
);
return
$this
->
returnResult
(
$result
);
}
}
...
@@ -198,19 +198,23 @@ class ReportService
...
@@ -198,19 +198,23 @@ class ReportService
break
;
break
;
case
2
:
case
2
:
case
3
:
case
3
:
$params
[
"agent_id_s"
]
=
$params
[
"report_agent_id"
];
$agentArr
=
$vModel
->
getAgentsByAgentIdAndType
(
$params
[
"report_agent_id"
],
$check_type
);
$caseHouseId
=
$vModel
->
getCaseHouseIdByAgentIdV2
(
$params
[
"agent_id_s"
]);
$params
[
"agent_id_s"
]
=
array
(
"in"
,
$agentArr
);
$params
[
"report_agent_id"
]
=
$agentArr
;
$caseHouseId
=
$vModel
->
getPanpartyAndExclusiveHouseIdByAgentId
(
$params
[
"agent_id_s"
]);
$ids
=
""
;
$ids
=
""
;
if
(
count
(
$caseHouseId
)
>
0
)
{
if
(
count
(
$caseHouseId
)
>
0
)
{
foreach
(
$caseHouseId
as
$item
)
{
foreach
(
$caseHouseId
as
$item
)
{
$ids
.=
$item
[
"houses_id"
]
.
","
;
$ids
.=
$item
[
"houses_id"
]
.
","
;
}
}
}
}
$ids
=
rtrim
(
$ids
,
","
);
$ids
=
rtrim
(
$ids
,
","
);
$ids
=
$ids
?
$ids
:
0
;
$ids
=
$ids
?
$ids
:
0
;
$params
[
"house_ids"
]
=
$ids
;
$params
[
"house_ids"
]
=
$ids
;
$result
=
$this
->
oReportModel
->
selectReportList
(
$field
,
$params
,
$pageNo
,
$pageSize
);
$result
=
$this
->
oReportModel
->
selectReportList
(
$field
,
$params
,
$pageNo
,
$pageSize
);
break
;
break
;
default
:
default
:
...
...
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