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
53696c78
Commit
53696c78
authored
Jan 11, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
afb73a5f
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 @
53696c78
...
@@ -3414,7 +3414,7 @@ class Finance extends Basic
...
@@ -3414,7 +3414,7 @@ class Finance extends Basic
];
];
$pay_log_id
=
$m_pay_adjustment
->
getAdjustmentList
(
'paylog_id'
,
$where
);
$pay_log_id
=
$m_pay_adjustment
->
getAdjustmentList
(
'paylog_id'
,
$where
);
if
(
count
(
$pay_log_id
))
{
if
(
count
(
$pay_log_id
)
>
1
)
{
return
$this
->
response
(
$code
,
'存在调整,不能删除'
);
return
$this
->
response
(
$code
,
'存在调整,不能删除'
);
}
}
...
@@ -3611,7 +3611,7 @@ class Finance extends Basic
...
@@ -3611,7 +3611,7 @@ class Finance extends Basic
$m_pay_adjustment
=
new
OPayLogAdjustment
();
$m_pay_adjustment
=
new
OPayLogAdjustment
();
$adjustment_num
=
$m_pay_adjustment
->
getAdjustmentList
(
'id'
,
[
'paylog_id'
=>
$this
->
params
[
'pay_id'
]]);
$adjustment_num
=
$m_pay_adjustment
->
getAdjustmentList
(
'id'
,
[
'paylog_id'
=>
$this
->
params
[
'pay_id'
]]);
if
(
count
(
$adjustment_num
))
{
if
(
count
(
$adjustment_num
)
>
1
)
{
return
$this
->
response
(
$code
,
'存在调整,不能删除'
);
return
$this
->
response
(
$code
,
'存在调整,不能删除'
);
}
}
...
...
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