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
401e435a
Commit
401e435a
authored
Feb 26, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成交报告详情增加收款信息
parent
bc295790
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
8 deletions
+30
-8
Performance.php
application/api_broker/controller/Performance.php
+0
-0
PerformanceService.php
application/api_broker/service/PerformanceService.php
+13
-0
PerformanceValidate.php
application/api_broker/validate/PerformanceValidate.php
+5
-0
OPayLogModel.php
application/model/OPayLogModel.php
+3
-0
route.php
application/route.php
+9
-8
No files found.
application/api_broker/controller/Performance.php
View file @
401e435a
This diff is collapsed.
Click to expand it.
application/api_broker/service/PerformanceService.php
View file @
401e435a
...
...
@@ -894,5 +894,17 @@ class PerformanceService
return
[
"code"
=>
200
,
"date"
=>
$list
];
}
/**
* @param $bargain_id
* @return false|\PDOStatement|string|\think\Collection
*/
public
function
collectionList
(
$bargain_id
){
$paylogModel
=
new
OPayLogModel
();
$orderParams
[
"bargain_id"
]
=
$bargain_id
;
$field_pay_log
=
"a.id,a.create_time,a.bargain_id,a.money,a.type,a.income_time,a.source,c.id as agent_id,c.name,d.store_name"
;
return
$paylogModel
->
getPayLogByOrderId
(
$field_pay_log
,
$orderParams
);
}
}
\ No newline at end of file
application/api_broker/validate/PerformanceValidate.php
View file @
401e435a
...
...
@@ -22,6 +22,7 @@ class PerformanceValidate extends Validate
'push_id'
=>
'require'
,
'is_forbidden'
=>
'require|in:0,1'
,
'operator_id'
=>
'require|number'
,
'bargain_id'
=>
'require|number'
,
];
protected
$message
=
[
...
...
@@ -39,6 +40,8 @@ class PerformanceValidate extends Validate
'is_forbidden.in'
=>
'是否绑定字段值只能为0或1'
,
'operator_id.require'
=>
'操作人为必填字段'
,
'operator_id.number'
=>
'操作人编号只能为数字'
,
'bargain_id.require'
=>
'成交报告编号为必填字段'
,
'bargain_id.number'
=>
'成交报告编号只能为数字'
,
];
protected
$scene
=
[
...
...
@@ -47,5 +50,6 @@ class PerformanceValidate extends Validate
'login'
=>
[
'phone'
,
'pwd'
,
'device_id'
,
"push_id"
],
'verifyStatus'
=>
[
'agent_id'
,
'device_id'
],
'verifyIsForbidden'
=>
[
'phone'
,
'device_id'
,
'is_forbidden'
,
'operator_id'
],
'verifyCollectionList'
=>
[
'agent_id'
,
'bargain_id'
],
];
}
\ No newline at end of file
application/model/OPayLogModel.php
View file @
401e435a
...
...
@@ -138,6 +138,9 @@ class OPayLogModel extends Model
if
(
isset
(
$params
[
"house_title"
]))
{
$where_
[
"b.house_title"
]
=
$params
[
"house_title"
];
}
if
(
isset
(
$params
[
"bargain_id"
]))
{
$where_
[
"a.bargain_id"
]
=
$params
[
"bargain_id"
];
}
$where_
[
"a.is_del"
]
=
0
;
return
Db
::
table
(
$this
->
table
)
->
field
(
$field
)
...
...
application/route.php
View file @
401e435a
...
...
@@ -710,14 +710,15 @@ Route::group('broker', [
'userFollowUpListV2'
=>
[
'api_broker/HomePageLog/userFollowUpListV2'
,
[
'method'
=>
'post|get'
]],
'houseFollowUpList'
=>
[
'api_broker/HomePageLog/houseFollowUpList'
,
[
'method'
=>
'post'
]],
'housingResource'
=>
[
'api_broker/Performance/housingResource'
,
[
'method'
=>
'POST|GET'
]],
//获取房源list
'userResource'
=>
[
'api_broker/Performance/userResource'
,
[
'method'
=>
'POST|GET'
]],
//获取客源list
'followList'
=>
[
'api_broker/Performance/followList'
,
[
'method'
=>
'POST|GET'
]],
//报备list
'marchInList'
=>
[
'api_broker/Performance/marchInList'
,
[
'method'
=>
'POST|GET'
]],
//进场list
'paylogList'
=>
[
'api_broker/Performance/paylogList'
,
[
'method'
=>
'POST|GET'
]],
//收款list
'performanceList'
=>
[
'api_broker/Performance/performanceList'
,
[
'method'
=>
'POST|GET'
]],
//业绩list
'superviseList'
=>
[
'api_broker/Performance/superviseList'
,
[
'method'
=>
'POST|GET'
]],
//监督执行list
'officialReceiptsList'
=>
[
'api_broker/Performance/officialReceiptsList'
,
[
'method'
=>
'POST|GET'
]],
//实收list
'housingResource'
=>
[
'api_broker/Performance/housingResource'
,
[
'method'
=>
'POST|GET'
]],
//获取房源list
'userResource'
=>
[
'api_broker/Performance/userResource'
,
[
'method'
=>
'POST|GET'
]],
//获取客源list
'followList'
=>
[
'api_broker/Performance/followList'
,
[
'method'
=>
'POST|GET'
]],
//报备list
'marchInList'
=>
[
'api_broker/Performance/marchInList'
,
[
'method'
=>
'POST|GET'
]],
//进场list
'paylogList'
=>
[
'api_broker/Performance/paylogList'
,
[
'method'
=>
'POST|GET'
]],
//收款list
'performanceList'
=>
[
'api_broker/Performance/performanceList'
,
[
'method'
=>
'POST|GET'
]],
//业绩list
'superviseList'
=>
[
'api_broker/Performance/superviseList'
,
[
'method'
=>
'POST|GET'
]],
//监督执行list
'officialReceiptsList'
=>
[
'api_broker/Performance/officialReceiptsList'
,
[
'method'
=>
'POST|GET'
]],
//实收list
'collectionListByBargainId'
=>
[
'api_broker/Performance/collectionListByBargainId'
,
[
'method'
=>
'POST|GET'
]],
//实收list
'paylogListPcInfo'
=>
[
'api_broker/Performance/paylogListPcInfo'
,
[
'method'
=>
'POST|GET'
]],
//
'marchInListPcInfo'
=>
[
'api_broker/Performance/marchInListPcInfo'
,
[
'method'
=>
'POST|GET'
]],
//
...
...
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