| | |
| | | import com.nq.service.IUserService; |
| | | import com.nq.utils.KeyUtils; |
| | | import com.nq.utils.PropertiesUtil; |
| | | import com.nq.utils.UserFundUtil; |
| | | import com.nq.utils.pay.CmcPayOuterRequestUtil; |
| | | import com.nq.utils.pay.CmcPayTool; |
| | | import com.nq.utils.pay.OcocnPayUtil; |
| | |
| | | if (updateCount > 0) { |
| | | log.info("后台通知,修改订单状态成功"); |
| | | |
| | | BigDecimal total_amt = user.getUserAmt().add(userRecharge.getPayAmt()); |
| | | user.setUserAmt(total_amt); |
| | | BigDecimal total_enable = user.getEnableAmt().add(userRecharge.getPayAmt()); |
| | | user.setEnableAmt(total_enable); |
| | | UserFundUtil.creditUserBalance(user, userRecharge.getPayAmt()); |
| | | int updateUserCount = this.userMapper.updateByPrimaryKeySelective(user); |
| | | if (updateUserCount > 0) { |
| | | return ServerResponse.createBySuccessMsg("后台通知 处理成功"); |