From 659be532be2e71c75795d72f005cb4c83caedfe0 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Wed, 1 Feb 2023 13:40:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/controller/thrsys/ThrBusTypeOriginController.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/glxp/api/controller/thrsys/ThrBusTypeOriginController.java b/src/main/java/com/glxp/api/controller/thrsys/ThrBusTypeOriginController.java index 83a280b6..709cca3e 100644 --- a/src/main/java/com/glxp/api/controller/thrsys/ThrBusTypeOriginController.java +++ b/src/main/java/com/glxp/api/controller/thrsys/ThrBusTypeOriginController.java @@ -102,10 +102,10 @@ public class ThrBusTypeOriginController { } if (thrBusTypeOriginEntity != null) { //校验单据类型代码是否重复 - boolean exists = thrBusTypeOriginService.checkActionExists(thrBusTypeOriginEntity.getAction(), thrBusTypeOriginEntity.getThirdSys()); - if (exists) { - return ResultVOUtils.error(500, "单据类型已存在!"); - } +// boolean exists = thrBusTypeOriginService.checkActionExists(thrBusTypeOriginEntity.getAction(), thrBusTypeOriginEntity.getThirdSys()); +// if (exists) { +// return ResultVOUtils.error(500, "单据类型已存在!"); +// } thrBusTypeOriginService.updateBusOriginType(thrBusTypeOriginEntity); } else { ResultVOUtils.error(999, "参数错误");