| | |
| | | .last("limit 1") |
| | | ); |
| | | |
| | | if(!vo.getStatus().equals("payin_ing")){ |
| | | if(vo.getStatus().equals("payin_ing")){ |
| | | log.error("充值2回调交易中:"+vo.toString()); |
| | | return; |
| | | } |
| | | |
| | | if(!vo.getStatus().equals("payin_fail")){ |
| | | }else if(vo.getStatus().equals("payin_fail")){ |
| | | paymentRecharge.setStatus(2); |
| | | paymentRecharge.setAmount(new BigDecimal(vo.getAccount_fee())); |
| | | paymentRecharge.setPayInfo(vo.toString()); |
| | | paymentRechargeService.updateById(paymentRecharge); |
| | | log.error("充值回调失败:"+vo.toString()); |
| | | return; |
| | | }else if(!vo.getStatus().equals("payin_fail") && !vo.getStatus().equals("payin_ing") && !vo.getStatus().equals("payin_success")){ |
| | | log.error("充值回调失败----未知状态:"+vo.toString()); |
| | | return; |
| | | } |
| | | |
| | | if(ObjectUtils.isEmpty(paymentRecharge)){ |