mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-08 20:10:16 +08:00
update 查询会员钱包信息
This commit is contained in:
@@ -343,8 +343,8 @@ public class PayController extends BaseController {
|
|||||||
public void adapayCallback(HttpServletRequest request) {
|
public void adapayCallback(HttpServletRequest request) {
|
||||||
try {
|
try {
|
||||||
orderService.adapayCallback(request);
|
orderService.adapayCallback(request);
|
||||||
String type = request.getParameter("type");
|
// String type = request.getParameter("type");
|
||||||
logger.info("1汇付回调type:{}", type);
|
logger.info("1汇付回调type:{}", request.getParameter("type"));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("1汇付支付回调失败 error", e);
|
logger.error("1汇付支付回调失败 error", e);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ public class MemberWalletInfoServiceImpl implements MemberWalletInfoService {
|
|||||||
MemberWalletVO memberWalletVO = memberWalletInfoMapper.selectMemberWalletInfo(walletCode);
|
MemberWalletVO memberWalletVO = memberWalletInfoMapper.selectMemberWalletInfo(walletCode);
|
||||||
// 累计消费金额 = 累计充值 + 累计赠送 - 本金余额 - 赠送金余额
|
// 累计消费金额 = 累计充值 + 累计赠送 - 本金余额 - 赠送金余额
|
||||||
BigDecimal accumulatedConsumptionAmount = memberWalletVO.getAccumulatedRechargeAmount()
|
BigDecimal accumulatedConsumptionAmount = memberWalletVO.getAccumulatedRechargeAmount()
|
||||||
.add(memberWalletVO.getAccumulatedRechargeAmount())
|
.add(memberWalletVO.getAccumulatedRechargeGift())
|
||||||
.subtract(memberWalletVO.getPrincipalBalance())
|
.subtract(memberWalletVO.getPrincipalBalance())
|
||||||
.subtract(memberWalletVO.getGiftBalance());
|
.subtract(memberWalletVO.getGiftBalance());
|
||||||
memberWalletVO.setAccumulatedConsumptionAmount(accumulatedConsumptionAmount);
|
memberWalletVO.setAccumulatedConsumptionAmount(accumulatedConsumptionAmount);
|
||||||
|
|||||||
Reference in New Issue
Block a user