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
ea552ca4
Commit
ea552ca4
authored
Jun 12, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agent_id
parent
9e00e461
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
OfficeBroker.php
application/api/controller/OfficeBroker.php
+4
-1
AAgents.php
application/model/AAgents.php
+0
-1
No files found.
application/api/controller/OfficeBroker.php
View file @
ea552ca4
...
...
@@ -70,6 +70,7 @@ class OfficeBroker extends Basic
$where
[
'c.house_id'
]
=
$params
[
'house_id'
];
$where
[
'c.is_del'
]
=
0
;
$where
[
'a.status'
]
=
0
;
$where
[
'c.type'
]
=
2
;
$list
=
$agents
->
getUserOffice
(
$pageNo
,
$pageSize
,
'evaluate desc'
,
$fields
,
$where
);
$agent_id
=
[];
...
...
@@ -97,7 +98,9 @@ class OfficeBroker extends Basic
}
$list
[
$k
][
'evaluate_grade'
]
=
$evaluate_grade
;
$list
[
$k
][
'show_content'
]
=
'本铺由我登记,熟悉房源信息'
;
if
(
empty
(
$v
[
'show_content'
]))
{
$list
[
$k
][
'show_content'
]
=
'本铺由我登记,熟悉房源信息'
;
}
}
}
...
...
application/model/AAgents.php
View file @
ea552ca4
...
...
@@ -1064,7 +1064,6 @@ class AAgents extends BaseModel
return
$this
->
field
(
$field
)
->
alias
(
'a'
)
->
join
(
'u_evaluate b'
,
'a.id = b.agents_id'
,
'left'
)
->
join
(
'office_g_room_to_agent c'
,
'a.id=c.agent_id'
,
'left'
)
->
where
(
'c.type'
,
1
)
->
where
(
$params
)
->
group
(
'a.id'
)
->
order
(
$order_
)
...
...
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