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
61260d97
Commit
61260d97
authored
Apr 03, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
f661ece5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
SquareService.php
application/api_broker/service/SquareService.php
+0
-1
BSquare.php
application/model/BSquare.php
+0
-4
No files found.
application/api_broker/service/SquareService.php
View file @
61260d97
...
...
@@ -80,7 +80,6 @@ class SquareService
$field
.=
'Square.cover_img,'
;
//cover_img
$field
.=
'Agent.name,'
;
//发布人
$field
.=
'Site.name as site_name,'
;
//城市
$field
.=
'District.district_name,'
;
//部门
$field
.=
'Square.create_time'
;
//发布时间
$get_params
[
'Square.status'
]
=
0
;
...
...
application/model/BSquare.php
View file @
61260d97
...
...
@@ -52,8 +52,6 @@ class BSquare extends Model
->
alias
(
'Square'
)
->
join
(
'a_agents Agent'
,
'Agent.id = Square.agent_id'
,
'left'
)
->
join
(
'a_site Site'
,
'Site.id = Square.site_id'
,
'left'
)
->
join
(
'a_district District'
,
'District.id = Square.district_id'
,
'left'
)
// ->join('b_comment Comment', 'Square.id = Comment.square_id', 'right')
->
where
(
$params
)
->
limit
(
$pageSize
)
->
page
(
$pageNo
)
...
...
@@ -71,8 +69,6 @@ class BSquare extends Model
->
alias
(
'Square'
)
->
join
(
'a_agents Agent'
,
'Agent.id = Square.agent_id'
,
'left'
)
->
join
(
'a_site Site'
,
'Site.id = Square.site_id'
,
'left'
)
->
join
(
'a_district District'
,
'District.id = Square.district_id'
,
'left'
)
// ->join('b_comment Comment', 'Square.id = Comment.square_id', 'right')
->
where
(
$params
)
->
count
();
//dump($this->getLastSql());
...
...
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