From 2409d88b588790d7a0bc2a59c98d07c860fdff6c Mon Sep 17 00:00:00 2001 From: qiuyt Date: Mon, 2 Dec 2024 15:28:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E5=85=A5=E8=8D=AF=E5=93=81=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20=E5=B9=B6=E4=B8=94=E6=9F=A5=E4=B8=8D=E5=88=B0?= =?UTF-8?q?=E9=98=BF=E9=87=8C=E4=B9=9F=E4=BC=9A=E6=96=B0=E5=A2=9E=E4=B8=80?= =?UTF-8?q?=E6=9D=A1=20=E6=9F=A5=E4=B8=8D=E5=88=B0=E5=8C=BB=E4=BF=9D?= =?UTF-8?q?=E5=BA=93=E4=B9=9F=E5=90=8C=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/glxp/api/service/basic/UdiContrastService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/glxp/api/service/basic/UdiContrastService.java b/src/main/java/com/glxp/api/service/basic/UdiContrastService.java index 10e2c73a..34c24bdb 100644 --- a/src/main/java/com/glxp/api/service/basic/UdiContrastService.java +++ b/src/main/java/com/glxp/api/service/basic/UdiContrastService.java @@ -348,9 +348,6 @@ public class UdiContrastService { }else { List thirdAliDrugListNew = null; - String customerId =customerService.getCustomerId(); - CustomerInfoEntity customerInfoEntity = customerInfoService.selectById(customerId); - AlihealthThirdAliDrugInsertReqeust alihealthThirdAliDrugInsertReqeust = new AlihealthThirdAliDrugInsertReqeust(); alihealthThirdAliDrugInsertReqeust.setErpId("73157692795424"); alihealthThirdAliDrugInsertReqeust.setAppSecret("5231c601505706a9d49823c3dfe2cb01"); @@ -368,6 +365,7 @@ public class UdiContrastService { thirdAliDrugService.addOrUpdate(thirdAliDrugListNew); }else { + udiProductService.insertUdiInfo(udiProductEntity); log.error("阿里接口未查到产品信息==="+baseResponse.getMessage()); // throw new JsonException(500, "阿里接口未查到产品信息"); } @@ -423,6 +421,8 @@ public class UdiContrastService { udiProductEntity.setId(IdUtil.getSnowflakeNextId()); udiProductService.insertUdiInfo(udiProductEntity); } + } else { + udiProductService.insertUdiInfo(udiProductEntity); } // setLevel(udiRelevanceEntity.getUuid());