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