From 4c328db8d5ae415c7086a2740d6b1c5c36a4812c Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期四, 12 十月 2023 17:08:28 +0800 Subject: [PATCH] 1、修改在业务数据增加时验证相应的codeallcode表中ID与业务类型相同的数据是否存在。 --- Source/UBCS/ubcs-service/ubcs-ddl/src/main/java/com/vci/ubcs/ddl/service/impl/DdlServiceImpl.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-ddl/src/main/java/com/vci/ubcs/ddl/service/impl/DdlServiceImpl.java b/Source/UBCS/ubcs-service/ubcs-ddl/src/main/java/com/vci/ubcs/ddl/service/impl/DdlServiceImpl.java index eb74293..e7ae5de 100644 --- a/Source/UBCS/ubcs-service/ubcs-ddl/src/main/java/com/vci/ubcs/ddl/service/impl/DdlServiceImpl.java +++ b/Source/UBCS/ubcs-service/ubcs-ddl/src/main/java/com/vci/ubcs/ddl/service/impl/DdlServiceImpl.java @@ -1007,7 +1007,7 @@ } return R.fail(e.getMessage()); }catch (ServiceException e2){ - throw new RuntimeException(e2.getMessage()); + return R.fail(e.getMessage()); } } } -- Gitblit v1.9.3