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
bfe7ac3e
Commit
bfe7ac3e
authored
Jun 27, 2017
by
HTML5-侯张振
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改历史记录bug
parent
cd5616fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
customer_building_log_model.php
html/application/controllers/admin/customer_building_log_model.php
+4
-2
No files found.
html/application/controllers/admin/customer_building_log_model.php
View file @
bfe7ac3e
...
@@ -112,8 +112,10 @@ class Customer_building_log_model extends MY_Model{
...
@@ -112,8 +112,10 @@ class Customer_building_log_model extends MY_Model{
->
from
(
'tb_customer_building_log CB'
)
->
from
(
'tb_customer_building_log CB'
)
->
join
(
'tb_building B'
,
'B.id= CB.building_id'
,
'left'
)
->
join
(
'tb_building B'
,
'B.id= CB.building_id'
,
'left'
)
->
join
(
'tb_customer TC'
,
'TC.id = CB.customer_id'
,
'left'
)
->
join
(
'tb_customer TC'
,
'TC.id = CB.customer_id'
,
'left'
)
->
join
(
'tb_user US'
,
'US.id=CB.sale_id'
,
'left'
)
->
join
(
'tb_customer_building SB'
,
'SB.customer_id = CB.customer_id'
,
'left'
)
->
join
(
'tb_user UM'
,
'UM.id = CB.manager_id'
,
'left'
)
->
join
(
'tb_customer_sales CS'
,
'CS.customer_building_id = SB.id'
,
'left'
)
->
join
(
'tb_user US'
,
'US.id=CS.sale_id'
,
'left'
)
->
join
(
'tb_user UM'
,
'UM.id = SB.manager_id'
,
'left'
)
->
join
(
'tb_user UU'
,
'UU.id = CB.user_id'
,
'left'
)
->
join
(
'tb_user UU'
,
'UU.id = CB.user_id'
,
'left'
)
->
join
(
'tb_distributor D'
,
'D.uniqid_id=UU.uniqid_id'
,
'left'
);
->
join
(
'tb_distributor D'
,
'D.uniqid_id=UU.uniqid_id'
,
'left'
);
...
...
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