Commit 326fa62e by 王军业

[删除付款约定信息]

1 parent 2072b68d
......@@ -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 {
......
package com.vion.financial.vo;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.vion.financial.entity.PaymentAgree;
@JsonInclude(value=Include.NON_NULL)
public class PaymentAgreeVo {
private List<PaymentAgree> list_payment_data;
public List<PaymentAgree> getList_payment_data() {
return list_payment_data;
}
public void setList_payment_data(List<PaymentAgree> list_payment_data) {
this.list_payment_data = list_payment_data;
}
}
package com.vion.financial.vo;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
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;
}
public void setList_payment_data(List<PaymentAgree> list_payment_data) {
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;
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!