From d87eb90691d2141a835e335482f722c5b49a260d Mon Sep 17 00:00:00 2001 From: "autumn.g@foxmail.com" Date: Wed, 8 Nov 2023 13:55:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E7=AE=A1=E5=85=85=E5=80=BC=E6=9C=AC?= =?UTF-8?q?=E9=87=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jsowell/pile/service/impl/MemberBasicInfoServiceImpl.java | 4 ++-- jsowell-ui/src/views/member/info/index.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/MemberBasicInfoServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/MemberBasicInfoServiceImpl.java index 8dbb2f464..d807037ac 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/MemberBasicInfoServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/MemberBasicInfoServiceImpl.java @@ -201,7 +201,7 @@ public class MemberBasicInfoServiceImpl implements IMemberBasicInfoService { : info.getPrincipalBalance(); newPrincipalBalance = oldPrincipalBalance.add(updatePrincipalBalance); if (newPrincipalBalance.compareTo(BigDecimal.ZERO) < 0) { - log.warn("新本金余额不能为负数"); + log.warn("变更后本金余额不能为负数"); return 0; } // 记流水 @@ -230,7 +230,7 @@ public class MemberBasicInfoServiceImpl implements IMemberBasicInfoService { newGiftBalance = oldGiftBalance.add(updateGiftBalance); // 余额不能为负数 if (newGiftBalance.compareTo(BigDecimal.ZERO) < 0) { - log.warn("新赠送余额不能为负数"); + log.warn("变更后赠送余额不能为负数"); return 0; } // 记流水 diff --git a/jsowell-ui/src/views/member/info/index.vue b/jsowell-ui/src/views/member/info/index.vue index 6817e69ec..52d122b43 100644 --- a/jsowell-ui/src/views/member/info/index.vue +++ b/jsowell-ui/src/views/member/info/index.vue @@ -289,7 +289,7 @@ export default { computed: { // 子类型 进账:10-充值, 11-赠送, 12-订单结算退款 出账:20-后管扣款, 21-订单付款, 22-用户退款 subType() { - return this.type === '1' ? '11' : '20'; + return this.type === '1' ? '10' : '20'; } }, created() { @@ -383,7 +383,7 @@ export default { }, // 重置 充值赠送金额相关 resetBalance() { - console.log("重置 充值赠送金额相关"); + // console.log("重置 充值赠送金额相关"); this.openUpdateBalance = false; this.updatePrincipalBalance = ""; this.updateBalanceMemberId = "";