来款审核
This commit is contained in:
+4
-4
@@ -552,7 +552,7 @@ public class PayPaymentCheckServiceImpl extends ServiceImpl<PayPaymentCheckMappe
|
||||
tbMember.setPaidAmount(newPaidAmount);
|
||||
tbMember.setInAccount(inAccount);
|
||||
paymentStatus = getPaymentStatus(tbMember.getAmountReceivable(), newPaidAmount, PaymentStatusEnum.COMPLETED.getCode());//缴费状态
|
||||
|
||||
tbMember.setPaymentStatus(paymentStatus);
|
||||
//插入来款记录表
|
||||
payPaymentRecord.setPaymentStatus(paymentStatus);
|
||||
payPaymentRecordMapper.insert(payPaymentRecord);
|
||||
@@ -568,12 +568,12 @@ public class PayPaymentCheckServiceImpl extends ServiceImpl<PayPaymentCheckMappe
|
||||
payPaymentRecordService.sendMessage( principalId,project, payPaymentRecord,listId);
|
||||
}else{
|
||||
paymentStatus = getPaymentStatus(tbMember.getAmountReceivable(), tbMember.getPaidAmount(), PaymentStatusEnum.REJECTED.getCode());//缴费状态
|
||||
tbMember.setPaymentStatus(paymentStatus);
|
||||
tbCheckVo.setCheckResult(PayProjectCommon.NO);
|
||||
|
||||
checkSendMessage(payPaymentRecord.getCreateBy(), principalId,project, String.valueOf(payPaymentRecord.getProjectType()));
|
||||
}
|
||||
|
||||
tbMember.setPaymentStatus(paymentStatus);
|
||||
//更新主列表
|
||||
tbMemberProjectSubitemMapper.updateById(tbMember);
|
||||
|
||||
@@ -609,7 +609,7 @@ public class PayPaymentCheckServiceImpl extends ServiceImpl<PayPaymentCheckMappe
|
||||
tbMemberCertificate.setPaidAmount(newPaidAmount);
|
||||
tbMemberCertificate.setInAccount(inAccount);
|
||||
paymentStatus = getPaymentStatus(tbMemberCertificate.getAmountReceivable(), newPaidAmount, PaymentStatusEnum.COMPLETED.getCode());//缴费状态
|
||||
|
||||
tbMemberCertificate.setPaymentStatus(paymentStatus);
|
||||
//插入来款记录表
|
||||
payPaymentRecord.setPaymentStatus(paymentStatus);
|
||||
payPaymentRecordMapper.insert(payPaymentRecord);
|
||||
@@ -626,12 +626,12 @@ public class PayPaymentCheckServiceImpl extends ServiceImpl<PayPaymentCheckMappe
|
||||
payPaymentRecordService.sendMessage( principalId,project, payPaymentRecord,listId);
|
||||
}else{
|
||||
paymentStatus = getPaymentStatus(tbMemberCertificate.getAmountReceivable(), tbMemberCertificate.getPaidAmount(), PaymentStatusEnum.REJECTED.getCode());//缴费状态
|
||||
tbMemberCertificate.setPaymentStatus(paymentStatus);
|
||||
tbCheckCerVo.setCheckResult(PayProjectCommon.NO);
|
||||
|
||||
checkSendMessage(payPaymentRecord.getCreateBy(), principalId,project, String.valueOf(payPaymentRecord.getProjectType()));
|
||||
}
|
||||
|
||||
tbMemberCertificate.setPaymentStatus(paymentStatus);
|
||||
//更新主列表
|
||||
certificatePaymentMapper.updateById(tbMemberCertificate);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user