From 17a6e59eeee0aa405344bddbac45cab4a913eb0f Mon Sep 17 00:00:00 2001 From: ZhiShuo_Lou <13209945+zhishuo-lou@user.noreply.gitee.com> Date: Wed, 6 Dec 2023 22:33:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=8F=82=E6=95=B0=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../god/base/server/service/impl/FirmCarServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/car-base-server/src/main/java/com/god/base/server/service/impl/FirmCarServiceImpl.java b/car-base-server/src/main/java/com/god/base/server/service/impl/FirmCarServiceImpl.java index ea6579f..81ced9b 100644 --- a/car-base-server/src/main/java/com/god/base/server/service/impl/FirmCarServiceImpl.java +++ b/car-base-server/src/main/java/com/god/base/server/service/impl/FirmCarServiceImpl.java @@ -32,7 +32,7 @@ public class FirmCarServiceImpl extends ServiceImpl impl public boolean save(FirmCar entity) { boolean save = super.save(entity); if (!save) { - throw new RuntimeException("围栏添加失败!"); + throw new RuntimeException("车辆添加失败!"); } return true; } @@ -41,7 +41,7 @@ public class FirmCarServiceImpl extends ServiceImpl impl public boolean removeById(Serializable id) { boolean remove = super.removeById(id); if (!remove) { - throw new RuntimeException("围栏删除失败!"); + throw new RuntimeException("车辆删除失败!"); } return true; } @@ -50,7 +50,7 @@ public class FirmCarServiceImpl extends ServiceImpl impl public boolean updateById(FirmCar entity) { boolean update = super.updateById(entity); if (!update) { - throw new RuntimeException("围栏编辑失败!"); + throw new RuntimeException("车辆编辑失败!"); } return true; }