Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
platform
/
finance_serv
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 326fa62e
authored
Aug 06, 2018
by
王军业
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[删除付款约定信息]
1 parent
2072b68d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
code/finance_serv/src/main/java/com/vion/financial/service/imp/PaymentAgreeServiceImpl.java
code/finance_serv/src/main/java/com/vion/financial/vo/PaymentAgreeVo.java
code/finance_serv/src/main/java/com/vion/financial/service/imp/PaymentAgreeServiceImpl.java
View file @
326fa62
...
...
@@ -104,10 +104,10 @@ public class PaymentAgreeServiceImpl implements PaymentAgreeService {
try
{
logger
.
info
(
"==============删除付款约定信息==================="
);
if
(!
contractServiceImpl
.
isDelete
(
s
))
{
List
<
PaymentAgree
>
list
=
paymentAgreeVo
.
getList_payment_data
();
for
(
PaymentAgree
paymentAgree
:
list
)
{
paymentAgree
.
setContract_unid
(
s
);
paymentAgreeMapper
.
deletePaymentAgree
(
paymentAgree
.
getPayment_unid
()
);
List
<
Integer
>
list
=
paymentAgreeVo
.
getPayment_unids
();
for
(
int
n
:
list
)
{
//
paymentAgree.setContract_unid(s);
paymentAgreeMapper
.
deletePaymentAgree
(
n
);
}
return
SuccessCode
;
}
else
{
...
...
code/finance_serv/src/main/java/com/vion/financial/vo/PaymentAgreeVo.java
View file @
326fa62
...
...
@@ -9,7 +9,7 @@ import com.vion.financial.entity.PaymentAgree;
@JsonInclude
(
value
=
Include
.
NON_NULL
)
public
class
PaymentAgreeVo
{
private
List
<
PaymentAgree
>
list_payment_data
;
private
List
<
Integer
>
payment_unids
;
public
List
<
PaymentAgree
>
getList_payment_data
()
{
return
list_payment_data
;
}
...
...
@@ -18,5 +18,13 @@ public class PaymentAgreeVo {
this
.
list_payment_data
=
list_payment_data
;
}
public
List
<
Integer
>
getPayment_unids
()
{
return
payment_unids
;
}
public
void
setPayment_unids
(
List
<
Integer
>
payment_unids
)
{
this
.
payment_unids
=
payment_unids
;
}
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment