From 311e2e81930f8fe903a861d289ba6d7e4791f4cf Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Sun, 30 Mar 2025 16:57:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/service/alihealth/impl/AlihealthBusServiceImpl.java | 5 +++-- 1 file changed, 3 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 57ecf00e..1427ecd7 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 @@ -258,9 +258,10 @@ public class AlihealthBusServiceImpl implements AlihealthBusService { UdiRelevanceResponse udiRelevance = udiRelevanceService.selectByMainIdOne(orderUploadVo.getDrugUnifiedCode()); if (udiRelevance == null) { - throw new JsonException(500, "未通过药品标识获取详情信息!"); + throw new JsonException(500, "文件中的药品统一编码:【"+orderUploadVo.getDrugUnifiedCode() + "】" +"没有维护产品信息!"); } + Long id = udiRelevance.getId(); String supId = udiRelevance.getSupId(); String userId = customerService.getCustomerId(); @@ -268,7 +269,7 @@ public class AlihealthBusServiceImpl implements AlihealthBusService { .eq(CompanyProductRelevanceEntity::getUdiRlIdFk, id) .eq(CompanyProductRelevanceEntity::getCustomerId, userId)); if (CollUtil.isEmpty(companyProductRelevanceEntities)) { - throw new JsonException(500, "当前产品标识:【" + udiRelevance.getNameCode() + "】未添加文件中供应商配送服务!"); + throw new JsonException(500, "文件中的药品统一编码:【"+orderUploadVo.getDrugUnifiedCode() + "】 产品标识:【" + udiRelevance.getNameCode() + "】未添加文件中供应商配送服务!"); } AddBizProductReqeust productRequest = new AddBizProductReqeust();