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
dbd693c2
Commit
dbd693c2
authored
Jun 25, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
office_
parent
4640e18f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
9 deletions
+10
-9
OfficeRoomService.php
application/index/service/OfficeRoomService.php
+2
-1
OfficeOBargainModel.php
application/model/OfficeOBargainModel.php
+2
-2
OfficeOMarchInModel.php
application/model/OfficeOMarchInModel.php
+4
-4
OfficeOReportModel.php
application/model/OfficeOReportModel.php
+2
-2
No files found.
application/index/service/OfficeRoomService.php
View file @
dbd693c2
...
...
@@ -1651,7 +1651,8 @@ class OfficeRoomService
public
function
getEditLog
(
$house_id
)
{
try
{
$m_operating
=
new
OfficeGOperatingRecord
();
$result
[
'data'
]
=
$m_operating
->
getList
(
1
,
1000
,
'id DESC'
,
'agent_id,name,remark,create_time'
,[
'house_id'
=>
$house_id
]);
$field
=
'agent_id,name,remark,create_time'
;
$result
[
'data'
]
=
$m_operating
->
getList
(
1
,
1000
,
'id DESC'
,
$field
,[
'house_id'
=>
$house_id
,
'type'
=>
[
'<>'
,
1
]]);
$result
[
'status'
]
=
'successful'
;
}
catch
(
\Exception
$e
)
{
$result
[
'status'
]
=
'fail'
;
...
...
application/model/OfficeOBargainModel.php
View file @
dbd693c2
...
...
@@ -469,8 +469,8 @@ class OfficeOBargainModel extends Model
public
function
getBargainInfo
(
$field
,
$params
)
{
$data
=
$this
->
field
(
$field
)
->
alias
(
'a'
)
->
join
(
'o_report b'
,
'a.report_id = b.id'
,
'left'
)
->
join
(
'o_order c'
,
'a.order_id = c.id'
,
'left'
)
->
join
(
'o
ffice_o
_report b'
,
'a.report_id = b.id'
,
'left'
)
->
join
(
'o
ffice_o
_order c'
,
'a.order_id = c.id'
,
'left'
)
->
join
(
'office_g_room d'
,
'c.house_id = d.id'
,
'left'
)
->
join
(
'office_g_building f'
,
'd.building_id = f.id'
,
'left'
)
->
join
(
'o_partial_commission e'
,
'e.bargain_id = a.id'
,
'left'
)
...
...
application/model/OfficeOMarchInModel.php
View file @
dbd693c2
...
...
@@ -348,8 +348,8 @@ class OfficeOMarchInModel extends Model
->
field
(
$field
)
->
alias
(
'a'
)
->
join
(
'a_agents b'
,
'a.reception_id = b.id'
,
'left'
)
->
join
(
'o_order c'
,
'a.order_id = c.id'
,
'left'
)
->
join
(
'o_report d'
,
'a.report_id = d.id'
,
'left'
)
->
join
(
'o
ffice_o
_order c'
,
'a.order_id = c.id'
,
'left'
)
->
join
(
'o
ffice_o
_report d'
,
'a.report_id = d.id'
,
'left'
)
->
join
(
'a_store e'
,
'd.report_store_id = e.id'
,
'left'
)
->
join
(
'office_g_room f'
,
'c.house_id = f.id'
,
'left'
)
->
join
(
'office_g_building g'
,
'f.building_id = g.id'
,
'left'
)
...
...
@@ -372,8 +372,8 @@ class OfficeOMarchInModel extends Model
return
$this
->
field
(
$field
)
->
alias
(
'a'
)
->
join
(
'a_agents b'
,
'a.reception_id = b.id'
,
'left'
)
->
join
(
'o_order c'
,
'a.order_id = c.id'
,
'left'
)
->
join
(
'o_report d'
,
'a.report_id = d.id'
,
'left'
)
->
join
(
'o
ffice_o
_order c'
,
'a.order_id = c.id'
,
'left'
)
->
join
(
'o
ffice_o
_report d'
,
'a.report_id = d.id'
,
'left'
)
->
join
(
'a_store e'
,
'd.report_store_id = e.id'
,
'left'
)
->
join
(
'office_g_room f'
,
'c.house_id = f.id'
,
'left'
)
->
join
(
'office_g_building g'
,
'f.building_id = g.id'
,
'left'
)
...
...
application/model/OfficeOReportModel.php
View file @
dbd693c2
...
...
@@ -760,7 +760,7 @@ class OfficeOReportModel extends Model
$result
=
$this
->
db
->
field
(
$field
)
->
alias
(
"a"
)
->
join
(
"a_agents d"
,
"a.report_agent_id = d.id"
,
"left"
)
->
join
(
"o_order b"
,
"a.id = b.f_id"
,
"left"
)
->
join
(
"o
ffice_o
_order b"
,
"a.id = b.f_id"
,
"left"
)
->
join
(
"office_g_room c"
,
"b.house_id = c.id"
,
"left"
)
->
join
(
"office_g_building e"
,
"c.building_id = e.id"
,
"left"
)
->
where
(
$params
)
...
...
@@ -779,7 +779,7 @@ class OfficeOReportModel extends Model
{
$result
=
$this
->
db
->
alias
(
"a"
)
->
join
(
"a_agents d"
,
"a.report_agent_id = d.id"
,
"left"
)
->
join
(
"o_order b"
,
"a.id = b.f_id"
,
"left"
)
->
join
(
"o
ffice_o
_order b"
,
"a.id = b.f_id"
,
"left"
)
->
join
(
"office_g_room c"
,
"b.house_id = c.id"
,
"left"
)
->
join
(
"office_g_building e"
,
"c.building_id = e.id"
,
"left"
)
->
where
(
$params
)
...
...
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