fix 会员申请缴费后,在会员系统点拒绝,来款项目状态同步错误

This commit is contained in:
lijiarao
2021-12-22 15:48:58 +08:00
parent 249a3680ea
commit 40ab321d0f
@@ -522,7 +522,7 @@ public class PayPaymentRecordServiceImpl extends ServiceImpl<PayPaymentRecordMap
tbMember.setPaymentStatus(PaymentStatusEnum.COMPLETED.getCode());
payPaymentRecord.setPaymentStatus(PaymentStatusEnum.COMPLETED.getCode());
}else {
tbMember.setPaymentStatus(PaymentStatusEnum.COMPLETED.getCode());
tbMember.setPaymentStatus(PaymentStatusEnum.REJECTED.getCode());
payPaymentRecord.setPaymentStatus(PaymentStatusEnum.REJECTED.getCode());
}
tbMemberProjectSubitemMapper.updateById(tbMember);