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
bc379d3c
Commit
bc379d3c
authored
Aug 13, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
excel
parent
dbc86312
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
OfficePerformanceInfo.php
application/index/controller/OfficePerformanceInfo.php
+1
-1
OfficeOBargainModel.php
application/model/OfficeOBargainModel.php
+2
-1
No files found.
application/index/controller/OfficePerformanceInfo.php
View file @
bc379d3c
...
@@ -222,7 +222,7 @@ class OfficePerformanceInfo extends Basic
...
@@ -222,7 +222,7 @@ class OfficePerformanceInfo extends Basic
$field
.=
'Obargain.father_id,'
;
$field
.=
'Obargain.father_id,'
;
$field
.=
'Obargain.trade_type,'
;
$field
.=
'Obargain.trade_type,'
;
$field
.=
'Obargain.agent_id,'
;
//分佣方ID
$field
.=
'Obargain.agent_id,'
;
//分佣方ID
$field
.=
'Houses.internal_address,'
;
$field
.=
'Houses.
address as
internal_address,'
;
$field
.=
'Oorder.house_id,'
;
$field
.=
'Oorder.house_id,'
;
$field
.=
'Obargain.price,'
;
//pricec成交价格
$field
.=
'Obargain.price,'
;
//pricec成交价格
$field
.=
'Agent.name,'
;
$field
.=
'Agent.name,'
;
...
...
application/model/OfficeOBargainModel.php
View file @
bc379d3c
...
@@ -1438,7 +1438,8 @@ class OfficeOBargainModel extends Model
...
@@ -1438,7 +1438,8 @@ class OfficeOBargainModel extends Model
->
alias
(
"Obargain"
)
->
alias
(
"Obargain"
)
->
join
(
"office_o_report Oreport"
,
"Obargain.report_id = Oreport.id"
,
"left"
)
->
join
(
"office_o_report Oreport"
,
"Obargain.report_id = Oreport.id"
,
"left"
)
->
join
(
"office_o_order Oorder"
,
"Obargain.order_id = Oorder.id"
,
"left"
)
->
join
(
"office_o_order Oorder"
,
"Obargain.order_id = Oorder.id"
,
"left"
)
->
join
(
"g_houses Houses"
,
"Oorder.house_id = Houses.id"
,
"left"
)
->
join
(
"office_g_room Room"
,
"Oorder.house_id = Room.id"
,
"left"
)
->
join
(
"office_g_building Houses"
,
"Room.building_id = Houses.id"
,
"left"
)
->
join
(
"a_agents Agent"
,
"Obargain.agent_id = Agent.id"
,
"left"
)
->
join
(
"a_agents Agent"
,
"Obargain.agent_id = Agent.id"
,
"left"
)
// ->join('a_store Store', 'Agent.store_id = Store.id', 'left')
// ->join('a_store Store', 'Agent.store_id = Store.id', 'left')
// ->join('a_district District', 'Agent.district_id = District.id', 'left')
// ->join('a_district District', 'Agent.district_id = District.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