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
315c0623
Commit
315c0623
authored
Jul 12, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
id or father_id
parent
28bdfaa5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
Finance.php
application/index/controller/Finance.php
+2
-1
OfficeBargain.php
application/index/controller/OfficeBargain.php
+2
-2
No files found.
application/index/controller/Finance.php
View file @
315c0623
...
@@ -488,7 +488,8 @@ class Finance extends Basic
...
@@ -488,7 +488,8 @@ class Finance extends Basic
$m_real
=
new
ORealIncome
();
$m_real
=
new
ORealIncome
();
$data
[
'data'
]
=
$this
->
m_bargain
->
updateBargainById
(
$this
->
params
[
'id'
],
$update_data
);
$bargain_where
[]
=
[
'EXP'
,
'id='
.
$this
->
params
[
'id'
]
.
' or father_id='
.
$this
->
params
[
'id'
]];
$data
[
'data'
]
=
$this
->
m_bargain
->
updateBargainByWhere
(
$update_data
,
$bargain_where
);
if
(
$data
[
'data'
]
==
1
)
{
if
(
$data
[
'data'
]
==
1
)
{
//新增实收佣金 array 5 todo feel_id 大于0 的表示新增 否则修改
//新增实收佣金 array 5 todo feel_id 大于0 的表示新增 否则修改
...
...
application/index/controller/OfficeBargain.php
View file @
315c0623
...
@@ -406,8 +406,8 @@ class OfficeBargain extends Basic
...
@@ -406,8 +406,8 @@ class OfficeBargain extends Basic
$m_real
=
new
OfficeORealIncome
();
$m_real
=
new
OfficeORealIncome
();
$bargain_where
[]
=
[
'EXP'
,
'id='
.
$this
->
params
[
'id'
]
.
' or father_id='
.
$this
->
params
[
'id'
]];
$data
[
'data'
]
=
$this
->
m_bargain
->
updateBargainBy
Id
(
$this
->
params
[
'id'
],
$update_data
);
$data
[
'data'
]
=
$this
->
m_bargain
->
updateBargainBy
Where
(
$update_data
,
$bargain_where
);
if
(
$data
[
'data'
]
==
1
)
{
if
(
$data
[
'data'
]
==
1
)
{
//新增实收佣金 array 5 todo feel_id 大于0 的表示新增 否则修改
//新增实收佣金 array 5 todo feel_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