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
bf933d98
Commit
bf933d98
authored
Dec 14, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
id
parent
b944ac24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Finance.php
application/index/controller/Finance.php
+2
-2
No files found.
application/index/controller/Finance.php
View file @
bf933d98
...
...
@@ -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
,a.bargain_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'
;
if
(
$this
->
request
->
isGet
())
{
$data
=
$this
->
m_bargain
->
getBargainPartialDetail
(
$field
,
[
'id'
=>
$this
->
params
[
'bargain_id'
]
]);
return
$this
->
response
(
200
,
''
,
$data
);
...
...
@@ -2036,7 +2036,7 @@ class Finance extends Basic
$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
->
updatePerformanceAll
(
$data_arr
[
'
bargain_
id'
],
1
);
$this
->
updatePerformanceAll
(
$data_arr
[
'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