From 029cb2d6f4a091bc9f846404ca7cb8821e3a4ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Sun, 29 Sep 2024 13:59:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B09.29?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fuintAdmin/src/views/fleet/tab/fleetMember.vue | 10 ++++++++-- .../business/fleet/mapper/xml/FleetMemberMapper.xml | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/fuintAdmin/src/views/fleet/tab/fleetMember.vue b/fuintAdmin/src/views/fleet/tab/fleetMember.vue index 21b1029a7..457aeb7fb 100644 --- a/fuintAdmin/src/views/fleet/tab/fleetMember.vue +++ b/fuintAdmin/src/views/fleet/tab/fleetMember.vue @@ -712,8 +712,14 @@ export default { this.open1 = false this.queryParams.page = 1 this.getList() - } else { - this.$message.error("修改失败,手机号已存在") + } else if (res.data == 2){ + this.$message.error("共享副卡-不限额,暂不支持修改") + } else if (res.data == 3){ + this.$message.error("当前车队卡剩余额度不足,无法扣除") + } else if (res.data == 4){ + this.$message.error("当前车队卡剩余额度不足,无法扣除") + } else if (res.data == 5){ + this.$message.error("当前副卡剩余额度不足,无法扣除") } }) } diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/mapper/xml/FleetMemberMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/mapper/xml/FleetMemberMapper.xml index a210ebda3..11e570944 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/mapper/xml/FleetMemberMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/mapper/xml/FleetMemberMapper.xml @@ -67,7 +67,7 @@ parameterType="java.lang.Integer"> select SUM(remaining_credit_limit) from fleet_member - where fleet_id = #{fleetId} and secondary_card_type = 2 + where fleet_id = #{fleetId} and secondary_card_type != 1