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
06855d41
Commit
06855d41
authored
Mar 27, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bargain_id
parent
f03fc24c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Finance.php
application/index/controller/Finance.php
+3
-3
No files found.
application/index/controller/Finance.php
View file @
06855d41
...
...
@@ -3662,7 +3662,7 @@ class Finance extends Basic
$pay_data
=
[];
try
{
$m_pay
=
new
OPayLogModel
();
$pay_fields
=
'id,order_id,agent_name,create_time,income_time,house_number,type,real_money,income_time,transfer_name,'
;
$pay_fields
=
'id,order_id,agent_name,create_time,income_time,house_number,type,real_money,income_time,transfer_name,
bargain_id
'
;
$pay_fields
.=
'transaction_fee,is_dividend,receipt_number,source,pay_type,last_transfer_time,money,industry_type,received_money,type_ext'
;
$pay_data
=
$m_pay
->
selectReceiptImgList
(
$pay_fields
,
[
'id'
=>
$this
->
params
[
'pay_id'
]]);
$pay_data
=
$pay_data
[
0
];
...
...
@@ -3704,8 +3704,8 @@ class Finance extends Basic
$m_report
=
new
OReportModel
();
$pay_data
[
'current_agent_name'
]
=
''
;
$pay_data
[
'current_agent_name'
]
=
$pay_data
[
'store_name'
]
=
""
;
if
(
$pay_data
[
'type'
]
==
92
||
$pay_data
[
'type'
]
==
91
)
{
$where
[
'a.order_id'
]
=
$pay_data
[
'order_id'
];
if
(
(
$pay_data
[
'type'
]
==
92
||
$pay_data
[
'type'
]
==
91
)
&&
$pay_data
[
'bargain_id'
]
>
0
)
{
$where
[
]
=
[
'EXP'
,
'a.id ='
.
$pay_data
[
'bargain_id'
]
.
' or father_id='
.
$pay_data
[
'bargain_id'
]
];
$where
[
'a.status'
]
=
[
'in'
,
'10,11,13'
];
$where
[
'a.role'
]
=
[
'in'
,
'3,4,5'
];
$bargain_data
=
$this
->
m_bargain
->
agentBargainAll
(
'a.role,a.scale,b.name'
,
$where
);
...
...
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