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
85e94731
Commit
85e94731
authored
Sep 10, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
百分比
parent
7f82cbf8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Finance.php
application/index/controller/Finance.php
+3
-0
No files found.
application/index/controller/Finance.php
View file @
85e94731
...
...
@@ -794,6 +794,7 @@ class Finance extends Basic
$bargain_update_data
[]
=
[
'bargain_id'
=>
$this
->
params
[
'bargain_id'
],
'scale_fee'
=>
$item
[
'should_commission'
],
'scale'
=>
$item
[
'scale'
],
'agent_id'
=>
$item
[
'agent_id'
],
'store_id'
=>
$bargain_data
[
'store_id'
],
'district_id'
=>
$bargain_data
[
'district_id'
],
...
...
@@ -825,6 +826,7 @@ class Finance extends Basic
$bargain_update_data
[]
=
[
'bargain_id'
=>
$this
->
params
[
'bargain_id'
],
'scale_fee'
=>
$item
[
'should_commission'
],
'scale'
=>
$item
[
'scale'
],
'agent_id'
=>
$item
[
'agent_id'
],
'store_id'
=>
$bargain_data
[
'store_id'
],
'district_id'
=>
$bargain_data
[
'district_id'
],
...
...
@@ -853,6 +855,7 @@ class Finance extends Basic
if
(
!
empty
(
$bargain_update_data
))
{
foreach
(
$bargain_update_data
as
$k
=>
$v
)
{
$update_data
[
'scale_fee'
]
=
$v
[
'scale_fee'
];
$update_data
[
'scale'
]
=
$v
[
'scale'
];
$update_data
[
'agent_id'
]
=
$v
[
'agent_id'
];
$m_bargain
->
updateBargainById
(
$v
[
'bargain_id'
],
$update_data
);
$this
->
updatePerformanceData
(
$v
[
'agent_id'
],
$v
[
'create_time'
],
$v
[
'store_id'
],
$v
[
'district_id'
]);
...
...
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