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
a026da3a
Commit
a026da3a
authored
Jun 18, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f638538a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
DailyPaperService.php
application/api_broker/service/DailyPaperService.php
+10
-10
No files found.
application/api_broker/service/DailyPaperService.php
View file @
a026da3a
...
...
@@ -301,10 +301,10 @@ class DailyPaperService
$params
[
"a.type"
]
=
91
;
$params
[
"c.father_id"
]
=
0
;
$agency_fee_shop
=
$this
->
getHouseAndAgentInfo
(
$payLogModel
->
selectPayLogListByBargain
(
$field
.
",1 as type"
,
$params
)
$payLogModel
->
selectPayLogListByBargain
(
$field
.
",1 as type
s
"
,
$params
)
);
$agency_fee_office
=
$this
->
getHouseAndAgentInfo
(
$officePayLogModel
->
selectPayLogListByBargain
(
$field
.
",2 as type"
,
$params
),
2
$officePayLogModel
->
selectPayLogListByBargain
(
$field
.
",2 as type
s
"
,
$params
),
2
);
$info
[
"agency_fee"
]
=
array_merge
(
$agency_fee_shop
,
$agency_fee_office
);
...
...
@@ -325,10 +325,10 @@ class DailyPaperService
//案场费入账 盘方
$params
[
"a.type"
]
=
92
;
$case_fee_arr_shop
=
$payLogModel
->
selectPayLogListByBargain
(
$field
.
",1 as type"
,
$params
);
$case_fee_arr_shop
=
$payLogModel
->
selectPayLogListByBargain
(
$field
.
",1 as type
s
"
,
$params
);
$case_fee_shop
=
$this
->
getHouseAndAgentInfo
(
$this
->
getHousePan
(
$case_fee_arr_shop
));
$case_fee_arr_office
=
$officePayLogModel
->
selectPayLogListByBargain
(
$field
.
",2 as type"
,
$params
);
$case_fee_arr_office
=
$officePayLogModel
->
selectPayLogListByBargain
(
$field
.
",2 as type
s
"
,
$params
);
$case_fee_office
=
$this
->
getHouseAndAgentInfo
(
$this
->
getHousePan
(
$case_fee_arr_office
),
2
);
$info
[
"case_fee"
]
=
array_merge
(
$case_fee_shop
,
$case_fee_office
);
...
...
@@ -353,20 +353,20 @@ class DailyPaperService
$params
[
"a.type"
]
=
10
;
unset
(
$params
[
"c.father_id"
]);
$earnest_money_shop
=
$this
->
getHouseAndAgentInfo
(
$payLogModel
->
selectPayLogListByBargainReport
(
$field_money
.
",1 as type"
,
$params
)
$payLogModel
->
selectPayLogListByBargainReport
(
$field_money
.
",1 as type
s
"
,
$params
)
);
$earnest_money_office
=
$this
->
getHouseAndAgentInfo
(
$officePayLogModel
->
selectPayLogListByBargainReport
(
$field_money
.
",2 as type"
,
$params
),
2
$officePayLogModel
->
selectPayLogListByBargainReport
(
$field_money
.
",2 as type
s
"
,
$params
),
2
);
$info
[
"earnest_money"
]
=
array_merge
(
$earnest_money_shop
,
$earnest_money_office
);
//保管金
$params
[
"a.type"
]
=
30
;
$custody_money_shop
=
$this
->
getHouseAndAgentInfo
(
$payLogModel
->
selectPayLogListByBargainReport
(
$field_money
.
",1 as type"
,
$params
)
$payLogModel
->
selectPayLogListByBargainReport
(
$field_money
.
",1 as type
s
"
,
$params
)
);
$custody_money_office
=
$this
->
getHouseAndAgentInfo
(
$officePayLogModel
->
selectPayLogListByBargainReport
(
$field_money
.
",2 as type"
,
$params
),
2
$officePayLogModel
->
selectPayLogListByBargainReport
(
$field_money
.
",2 as type
s
"
,
$params
),
2
);
$info
[
"custody_money"
]
=
array_merge
(
$custody_money_shop
,
$custody_money_office
);
...
...
@@ -380,10 +380,10 @@ class DailyPaperService
$params_adjustment
[
"b.create_time"
]
=
array
(
"between"
,
array
(
$daily_data
,
$daily_data
.
" 23:59:59"
));
$adjustment_shop
=
$this
->
getHouseAndAgentInfo
(
$payLogModel
->
selectAdjustmentList
(
$field_adjustment
.
",1 as type"
,
$params_adjustment
)
$payLogModel
->
selectAdjustmentList
(
$field_adjustment
.
",1 as type
s
"
,
$params_adjustment
)
);
$adjustment_office
=
$this
->
getHouseAndAgentInfo
(
$officePayLogModel
->
selectAdjustmentList
(
$field_adjustment
.
",2 as type"
,
$params_adjustment
),
2
$officePayLogModel
->
selectAdjustmentList
(
$field_adjustment
.
",2 as type
s
"
,
$params_adjustment
),
2
);
$info
[
"adjustment"
]
=
array_merge
(
$adjustment_shop
,
$adjustment_office
);
return
$info
;
...
...
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