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
b944ac24
Commit
b944ac24
authored
Dec 14, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bargain_id
parent
7679041e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Finance.php
application/index/controller/Finance.php
+4
-4
No files found.
application/index/controller/Finance.php
View file @
b944ac24
...
...
@@ -2001,7 +2001,7 @@ class Finance extends Basic
if
(
empty
(
$this
->
params
[
'bargain_id'
]))
{
return
$this
->
response
(
101
,
'成交报告id为空'
);
}
$field
=
'a.id,a.scale,a.agent_id,a.role,a.scale_fee,b.scale as new_scale,b.should_commission,a.create_time,a.father_id'
;
$field
=
'a.id,a.scale,a.agent_id,a.role,a.scale_fee,b.scale as new_scale,b.should_commission,a.create_time,a.father_id
,a.bargain_id
'
;
if
(
$this
->
request
->
isGet
())
{
$data
=
$this
->
m_bargain
->
getBargainPartialDetail
(
$field
,
[
'id'
=>
$this
->
params
[
'bargain_id'
]
]);
return
$this
->
response
(
200
,
''
,
$data
);
...
...
@@ -2034,9 +2034,9 @@ class Finance extends Basic
$partial_data
[
'role'
]
=
$this
->
params
[
'role'
];
$partial_data
[
'should_commission'
]
=
$this
->
params
[
'scale_fee'
];
$comm
->
editData
(
$partial_data
,
$this
->
params
[
'bargain_id'
],
'bargain_id'
);
$this
->
updatePerformance
(
0
,
$this
->
params
[
'agent_id'
]);
$this
->
updatePerformance
(
0
,
$data_arr
[
'agent_id'
]);
//
$this->updatePerformance(0, $this->params['agent_id']);
//
$this->updatePerformance(0, $data_arr['agent_id']);
$this
->
updatePerformanceAll
(
$data_arr
[
'bargain_id'
],
1
);
/*记录日志 start*/
$father_id
=
$this
->
params
[
'bargain_id'
];
if
(
$data_arr
[
'father_id'
]
==
0
)
{
...
...
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