From ad158f6b0e3befbd70500a22489ef2cf64978b06 Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期五, 31 五月 2024 08:53:21 +0800 Subject: [PATCH] 修复标准库和下单 --- inspect-server/src/main/java/com/yuanchu/mom/service/impl/InsReportServiceImpl.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/inspect-server/src/main/java/com/yuanchu/mom/service/impl/InsReportServiceImpl.java b/inspect-server/src/main/java/com/yuanchu/mom/service/impl/InsReportServiceImpl.java index 4d1bf27..ea79da8 100644 --- a/inspect-server/src/main/java/com/yuanchu/mom/service/impl/InsReportServiceImpl.java +++ b/inspect-server/src/main/java/com/yuanchu/mom/service/impl/InsReportServiceImpl.java @@ -171,8 +171,9 @@ String laboratory = insOrderMapper.selectById(insReport.getInsOrderId()).getLaboratory(); sealUrl = insReportMapper.getLaboratoryByName(laboratory); }catch (Exception e){ - throw new ErrorException("鎵句笉鍒版姤鍛婄珷鍗�"); + throw new ErrorException("鎵句笉鍒版姤鍛婁笓鐢ㄧ珷"); } + if(sealUrl==null) throw new ErrorException("鎵句笉鍒版姤鍛婁笓鐢ㄧ珷"); //绯荤粺鐢熸垚鎶ュ憡鍦板潃 String url = insReport.getUrl(); //鎵嬪姩涓婁紶鎶ュ憡鍦板潃 -- Gitblit v1.9.3