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
5c872b49
Commit
5c872b49
authored
Dec 27, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去重
parent
2ac40322
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
Finance.php
application/index/controller/Finance.php
+12
-3
No files found.
application/index/controller/Finance.php
View file @
5c872b49
...
...
@@ -744,7 +744,11 @@ class Finance extends Basic
$where
[
'a.is_del'
]
=
0
;
if
(
isset
(
$this
->
params
[
'status'
])
&&
$this
->
params
[
'status'
]
!=
-
1
)
{
$where
[
'a.status'
]
=
$this
->
params
[
'status'
];
if
(
$this
->
params
[
'status'
]
==
1
)
{
$where
[
'a.status'
]
=
[
'in'
,
'0,1'
];
}
else
{
$where
[
'a.status'
]
=
$this
->
params
[
'status'
];
}
}
if
(
!
empty
(
$this
->
params
[
'start_time'
])
&&
empty
(
$this
->
params
[
'end_time'
]))
{
...
...
@@ -3696,9 +3700,14 @@ class Finance extends Basic
switch
(
$this
->
params
[
'status'
])
{
case
1
:
$log_where
[
'status'
]
=
1
;
$check_
num
=
$m_refund_log
->
getTotal
(
$log_where
);
$check_
agent_id
=
$m_refund_log
->
getListAll
(
'operation_id'
,
$log_where
);
if
(
$check_num
==
3
)
{
foreach
(
$check_agent_id
as
$v
)
{
if
(
$v
[
'operation_id'
]
==
$this
->
userId
)
{
return
$this
->
response
(
101
,
'你已审核过'
);
}
}
if
(
count
(
$check_agent_id
)
==
3
)
{
$status
=
3
;
//已审核
}
$save_data
[
'status'
]
=
1
;
...
...
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