From 985778eb037cd6c13aa673eae5d92188055cbef8 Mon Sep 17 00:00:00 2001 From: tangqian Date: Mon, 29 May 2023 21:26:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BC=82=E5=B8=B8=E5=8A=A0=E4=B8=8A?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/shop/service/order/impl/StoreOrderServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/order/impl/StoreOrderServiceImpl.java b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/order/impl/StoreOrderServiceImpl.java index 3c45399cf..49fb3b077 100644 --- a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/order/impl/StoreOrderServiceImpl.java +++ b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/order/impl/StoreOrderServiceImpl.java @@ -1502,7 +1502,7 @@ public class StoreOrderServiceImpl extends ServiceImpl { Boolean flag = phoneRecordService.verifyPhone(request.getUserPhone(), rechargeGearDO.getRefundAmount().intValue() + ""); if (flag) { - throw new ServiceException(200, "该挡位:" + rechargeGearDO.getName() + "你已购买,请勿重复操作"); + throw new ServiceException(200, "该挡位:" + rechargeGearDO.getName() + "你已购买,一年内无法再次办理同套餐"); } }); @@ -1516,7 +1516,7 @@ public class StoreOrderServiceImpl extends ServiceImpl> collect1 = infoDOS.stream().collect(Collectors.groupingBy(PhoneRecordDO::getRechargeGearId)); orderInfos.forEach(info -> { if (!CollectionUtils.isEmpty(collect1.get(info.getGearId()))) { - throw new ServiceException(200, "该挡位:" + info.getName() + "你已购买,请勿重复操作"); + throw new ServiceException(200, "该挡位:" + info.getName() + "你已购买,一年内无法再次办理同套餐"); } }); }