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
f6a5f9e4
Commit
f6a5f9e4
authored
Jul 18, 2017
by
HTML5-侯张振
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复 销管保护期查看bug
parent
edd6fbcf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
building_distributor_model.php
html/application/models/building_distributor_model.php
+2
-1
No files found.
html/application/models/building_distributor_model.php
View file @
f6a5f9e4
...
@@ -231,7 +231,8 @@ class Building_distributor_model extends MY_Model{
...
@@ -231,7 +231,8 @@ class Building_distributor_model extends MY_Model{
$this
->
db
->
select
(
'set_protection, B.building_title building_title, D.company_name company_name, BD.building_id building_id'
);
$this
->
db
->
select
(
'set_protection, B.building_title building_title, D.company_name company_name, BD.building_id building_id'
);
$this
->
db
->
from
(
'tb_building_distributor_relate BD'
);
$this
->
db
->
from
(
'tb_building_distributor_relate BD'
);
$this
->
db
->
join
(
'tb_building B'
,
'B.id = BD.building_id'
,
'left'
);
$this
->
db
->
join
(
'tb_building B'
,
'B.id = BD.building_id'
,
'left'
);
$this
->
db
->
join
(
'tb_distributor D'
,
'D.id = BD.distributor_id'
,
'left'
);
$this
->
db
->
join
(
'tb_distributor D'
,
'D.id = BD.distributor_id'
,
'left'
)
$this
->
db
->
join
(
'tb_manager A'
,
'A.id = D.id'
,
'left'
);
if
(
!
empty
(
$where
))
if
(
!
empty
(
$where
))
{
{
$this
->
db
->
where
(
$where
);
$this
->
db
->
where
(
$where
);
...
...
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