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
c227c0c6
Commit
c227c0c6
authored
Sep 02, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
house_id
parent
c2c28489
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
CellPhone.php
application/index/controller/CellPhone.php
+23
-0
No files found.
application/index/controller/CellPhone.php
View file @
c227c0c6
...
...
@@ -95,6 +95,29 @@ class CellPhone extends Basic
$where
[
'a.id'
]
=
$this
->
params
[
'id'
];
}
if
(
!
empty
(
$this
->
params
[
'shop_house_id'
]))
{
$m_house
=
new
GLandlordPhone
();
$landlord_phone
=
$m_house
->
getColumn
(
'phone'
,
[
'house_id'
=>
$this
->
params
[
'shop_house_id'
],
'status'
=>
0
]);
if
(
$landlord_phone
)
{
$where
[
'a.peer_no'
]
=
[
'in'
,
$landlord_phone
];
$where
[
'a.user_type'
]
=
1
;
}
else
{
return
$this
->
response
(
200
,
''
);
}
}
if
(
!
empty
(
$this
->
params
[
'office_house_id'
]))
{
$m_house
=
new
OfficeGLandlordPhone
();
$landlord_phone
=
$m_house
->
getColumn
(
'phone'
,
[
'house_id'
=>
$this
->
params
[
'shop_house_id'
],
'status'
=>
0
]);
if
(
$landlord_phone
)
{
$where
[
'a.peer_no'
]
=
[
'in'
,
$landlord_phone
];
$where
[
'a.user_type'
]
=
2
;
}
else
{
return
$this
->
response
(
200
,
''
);
}
}
$list
=
$report
->
getCallList
(
$pageNo
,
$pageSize
,
''
,
$field
,
$where
);
$m_user
=
new
Users
();
// $m_phone_follow = new UPhoneFollowUp($this->siteId);
...
...
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