From f02e23e532423e6316efe0be94ea47f0df1b8b79 Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Fri, 28 Mar 2025 18:20:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=98=B3=E9=87=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/service/alihealth/impl/AlihealthBusServiceImpl.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/glxp/api/service/alihealth/impl/AlihealthBusServiceImpl.java b/src/main/java/com/glxp/api/service/alihealth/impl/AlihealthBusServiceImpl.java index 46b759348..38ff13029 100644 --- a/src/main/java/com/glxp/api/service/alihealth/impl/AlihealthBusServiceImpl.java +++ b/src/main/java/com/glxp/api/service/alihealth/impl/AlihealthBusServiceImpl.java @@ -152,7 +152,9 @@ public class AlihealthBusServiceImpl implements AlihealthBusService { //第一条进行 阳采单号的校验 if (j == 0 && StringUtils.isNotEmpty(ycBillNo)){ String ycBillNo1 = ycFileCodeUploadVo.getYcBillNo(); - throw new JsonException("导入订单编号错误:当前绑定阳采业务单号【" + ycBillNo + "】 , 导入阳采业务单号【" + ycBillNo1 + "】 "); + if (!ycBillNo1.equals(ycBillNo)) { + throw new JsonException("导入订单编号错误:当前绑定阳采业务单号【" + ycBillNo + "】 , 导入阳采业务单号【" + ycBillNo1 + "】 "); + } } @@ -267,7 +269,7 @@ public class AlihealthBusServiceImpl implements AlihealthBusService { .eq(CompanyProductRelevanceEntity::getUdiRlIdFk, id) .eq(CompanyProductRelevanceEntity::getCustomerId, fromCorp)); if (CollUtil.isEmpty(companyProductRelevanceEntities)) { - throw new JsonException(500, "文件中的药品统一编码:【"+orderUploadVo.getDrugUnifiedCode() + "】 产品标识:【" + udiRelevance.getNameCode() + "】未添加文件中供应商配送服务!"); + throw new JsonException(500, "产品名称:【" + orderUploadVo.getProductName() + "】未添加文件中供应商配送服务!"); } AddBizProductReqeust productRequest = new AddBizProductReqeust();