From 1d15965dc918afae0ef492f9ae0e1263fc11684a Mon Sep 17 00:00:00 2001 From: wyb <1977763549@qq.com> Date: Thu, 13 Feb 2025 11:19:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E8=A7=84=E5=88=99=E7=9B=B4=E6=8E=A5=E4=BD=BF?= =?UTF-8?q?=E7=94=A8equals?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/jiashi/service/UpdateService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/jiashi/service/UpdateService.java b/src/main/java/com/jiashi/service/UpdateService.java index 5922d88..1fdbf5c 100644 --- a/src/main/java/com/jiashi/service/UpdateService.java +++ b/src/main/java/com/jiashi/service/UpdateService.java @@ -359,11 +359,11 @@ public class UpdateService { comparePart = removeLeadingZeros(comparePart); // gestno 或者 patno 进行 识别 if (StringUtils.hasText(gestno)) { - if (comparePart.contains(removeLeadingZeros(gestno)) && outDateFormat.equals(disDatePart)) { + if (comparePart.equals(removeLeadingZeros(gestno)) && outDateFormat.equals(disDatePart)) { return lianZhongPatPicDir; } } - if (comparePart.contains(removeLeadingZeros(patno)) && outDateFormat.equals(disDatePart)) { + if (comparePart.equals(removeLeadingZeros(patno)) && outDateFormat.equals(disDatePart)) { return lianZhongPatPicDir; } }