From 8932587bac4edaef3f16acda4849119bc19d8145 Mon Sep 17 00:00:00 2001 From: 18650502300 <18650502300@163.com> Date: Tue, 24 Dec 2024 11:05:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/system/domain/EtWithdraw.java | 2 +- .../ruoyi/system/service/impl/EtWithdrawServiceImpl.java | 4 ++-- .../src/main/resources/mapper/system/AsUserMapper.xml | 4 ++-- .../src/main/resources/mapper/system/EtWithdrawMapper.xml | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/electripper-system/src/main/java/com/ruoyi/system/domain/EtWithdraw.java b/electripper-system/src/main/java/com/ruoyi/system/domain/EtWithdraw.java index 2fb7cd7..8c7923d 100644 --- a/electripper-system/src/main/java/com/ruoyi/system/domain/EtWithdraw.java +++ b/electripper-system/src/main/java/com/ruoyi/system/domain/EtWithdraw.java @@ -50,7 +50,7 @@ public class EtWithdraw extends BaseEntity /** 微信openid */ @Excel(name = "微信openid") - private String wxopenid; + private String wxOpenid; /** 回调状态 */ @Excel(name = "回调状态") diff --git a/electripper-system/src/main/java/com/ruoyi/system/service/impl/EtWithdrawServiceImpl.java b/electripper-system/src/main/java/com/ruoyi/system/service/impl/EtWithdrawServiceImpl.java index e4235a5..421b2a8 100644 --- a/electripper-system/src/main/java/com/ruoyi/system/service/impl/EtWithdrawServiceImpl.java +++ b/electripper-system/src/main/java/com/ruoyi/system/service/impl/EtWithdrawServiceImpl.java @@ -105,7 +105,7 @@ public class EtWithdrawServiceImpl implements IEtWithdrawService } AsUser asUser = asUserMapper.selectUserById(user.getAppUserId()); log.info("获取到app用户:{}", JSON.toJSON(asUser)); - etWithdraw.setWxopenid(asUser.getWxOpenid()); + etWithdraw.setWxOpenid(asUser.getWxOpenid()); etWithdraw.setStatus(ServiceConstants.WITHDRAW_STATUS_APPLY); return etWithdrawMapper.insertEtWithdraw(etWithdraw); } @@ -129,7 +129,7 @@ public class EtWithdrawServiceImpl implements IEtWithdrawService transferDetailInput.setOutDetailNo(IdUtils.getOrderNo("txd"));//明细订单号 transferDetailInput.setTransferAmount(etWithdraw.getAmount().multiply(new BigDecimal(100)).longValue()); transferDetailInput.setTransferRemark(sysDept.getDeptName()+"共享电动车提现"); - transferDetailInput.setOpenid(etWithdraw.getWxopenid()); + transferDetailInput.setOpenid(etWithdraw.getWxOpenid()); transferDetailInputs.add(transferDetailInput); log.info("【审核通过】发起转账到零钱:{}",JSON.toJSONString(transferDetailInputs)); // todo 暂时先不发起真实提现 真正的提现是 diff --git a/electripper-system/src/main/resources/mapper/system/AsUserMapper.xml b/electripper-system/src/main/resources/mapper/system/AsUserMapper.xml index 7f2fb1e..70800d7 100644 --- a/electripper-system/src/main/resources/mapper/system/AsUserMapper.xml +++ b/electripper-system/src/main/resources/mapper/system/AsUserMapper.xml @@ -136,7 +136,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"