Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sunac-quanmin
Overview
Overview
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
HTML5-李恒逸
sunac-quanmin
Commits
cd5616fb
Commit
cd5616fb
authored
Jun 27, 2017
by
HTML5-侯张振
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
751bd9c8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
customer_building_model.php
html/application/models/customer_building_model.php
+1
-1
No files found.
html/application/models/customer_building_model.php
View file @
cd5616fb
...
...
@@ -656,7 +656,7 @@ class Customer_building_model extends MY_Model{
$this
->
db
->
select
(
'B.valid_day,C.create_time,C.recommend_status,C.report,C.report_status,C.report_time'
)
->
from
(
'tb_customer_building C'
)
->
join
(
'tb_building B'
,
'C.building_id=B.id'
)
->
where
(
"C.id =
{
$cbid
}
AND is_valid != 0 and C.recommend_status in (0,1,2,3)"
);
->
where
(
"C.id =
"
.
$cbid
.
"
AND is_valid != 0 and C.recommend_status in (0,1,2,3)"
);
$query
=
$this
->
db
->
get
();
if
(
$query
->
num_rows
()
>
0
)
...
...
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