From 608c22bfc7a42cf44029c94f02c69e51877792f4 Mon Sep 17 00:00:00 2001 From: Rui_Li <877258667@qq.com> Date: Mon, 7 Jul 2025 09:44:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=90=8C=E6=AD=A5=E7=9A=84?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2sql=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/spring/ifs/bean/BomServiceBean.java | 4 ++-- src/main/java/com/spring/ifs/bean/RoutingServiceBean.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/spring/ifs/bean/BomServiceBean.java b/src/main/java/com/spring/ifs/bean/BomServiceBean.java index 17b9436e..313cc195 100644 --- a/src/main/java/com/spring/ifs/bean/BomServiceBean.java +++ b/src/main/java/com/spring/ifs/bean/BomServiceBean.java @@ -667,9 +667,9 @@ public class BomServiceBean { //查询结果集 List resultList = BomApi.getBomDistributionsForSync(srv, contract, partNo, engChgLevel, bomType, alternativeNo); //判断是否查询数据 - if(resultList.size() == 0 || resultList.isEmpty()) { + /* if(resultList.size() == 0 || resultList.isEmpty()) { throw new APException("不存在此bom组件分配信息!"); - } + } 暂时注释掉*/ returnMap.put("resultCode", "200"); returnMap.put("obj", JSON.toJSONString(resultList)); } catch(APException e){ diff --git a/src/main/java/com/spring/ifs/bean/RoutingServiceBean.java b/src/main/java/com/spring/ifs/bean/RoutingServiceBean.java index 8ea8d827..28bdc0ec 100644 --- a/src/main/java/com/spring/ifs/bean/RoutingServiceBean.java +++ b/src/main/java/com/spring/ifs/bean/RoutingServiceBean.java @@ -456,9 +456,9 @@ public class RoutingServiceBean { //查询结果集 List resultList = RoutingApi.getRoutingItems(srv, contract, partNo, routingRevision, routingType, alternativeNo, operationNo); //判断是否查询数据 - if(resultList.isEmpty()) { + /* if(resultList.isEmpty()) { throw new APException("不存在此Routing组件信息!"); - } + } 暂时注释掉*/ returnMap.put("resultCode", "200"); returnMap.put("obj", JSON.toJSONString(resultList)); } catch(APException e){