From 9f31ae2df11f5e0f87238a35b2c48abc03e6763f Mon Sep 17 00:00:00 2001 From: caihaohan Date: Tue, 20 Aug 2024 17:04:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=2089131=20=E5=A4=96=E6=9D=A5=E6=A0=87?= =?UTF-8?q?=E5=87=86=E6=B3=95=E8=A7=84=E6=96=87=E6=9C=AC=E5=BA=93--?= =?UTF-8?q?=E6=A0=87=E5=87=86=E8=AF=A6=E6=83=85--=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E6=A0=87=E5=87=86=E5=92=8C=E4=BB=A3=E6=9B=BF=E6=A0=87=E5=87=86?= =?UTF-8?q?=EF=BC=8C=E6=98=AF=E9=80=89=E6=8B=A9=E7=9A=84=E4=BD=86=E6=98=AF?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/laws/common/service/impl/LawsCommonServiceImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/laws-modules/src/main/java/com/jero/modules/laws/common/service/impl/LawsCommonServiceImpl.java b/laws-modules/src/main/java/com/jero/modules/laws/common/service/impl/LawsCommonServiceImpl.java index bf49ab5c..22de5355 100644 --- a/laws-modules/src/main/java/com/jero/modules/laws/common/service/impl/LawsCommonServiceImpl.java +++ b/laws-modules/src/main/java/com/jero/modules/laws/common/service/impl/LawsCommonServiceImpl.java @@ -2824,6 +2824,8 @@ public class LawsCommonServiceImpl implements ILawsCommonService { @Override public Map getInfoByStandardNo(String standardNumber) { + // 如果有书名号则只取书名号之前的部分为标准编号 + standardNumber = standardNumber.split("《")[0]; Map result; // 用国标外标企标分别查询 LawsDomesticStandard gbStandard = lawsDomesticStandardService.getOne(new LambdaQueryWrapper()