From b813d38bfcc3daffacae9cb8328081a5572096a5 Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Wed, 10 Jul 2024 12:22:18 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20NIMS=20=ED=8F=90=EA=B8=B0=EB=B3=B4?= =?UTF-8?q?=EA=B3=A0=20=ED=99=95=EC=9D=B8=20=20=20=20=20=20-=20=EC=83=81?= =?UTF-8?q?=ED=92=88=20=EC=9D=BC=EB=A0=A8=EB=B2=88=ED=98=B8=20=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=EC=A4=91=20null=20=EB=98=90=EB=8A=94=20"-"=20?= =?UTF-8?q?=EA=B0=92=20->=20""=20=EC=B9=98=ED=99=98=ED=9B=84=20=EB=8D=B0?= =?UTF-8?q?=EC=9D=B4=ED=83=80=20=EB=B9=84=EA=B5=90=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cokr/xit/adds/inf/nims/model/NimsApiDto.java | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/main/java/cokr/xit/adds/inf/nims/model/NimsApiDto.java b/src/main/java/cokr/xit/adds/inf/nims/model/NimsApiDto.java index 27063a5..4c3274d 100644 --- a/src/main/java/cokr/xit/adds/inf/nims/model/NimsApiDto.java +++ b/src/main/java/cokr/xit/adds/inf/nims/model/NimsApiDto.java @@ -491,9 +491,15 @@ public class NimsApiDto { for (DsuseRptInfoDtl rptDtl : this.listDtl) { for (BizNimsDto.DsuseMgtDtl mgtDtl : mgtDto.getDsuseMgtDtls()) { if (Objects.equals(rptDtl.getPrductCd(), mgtDtl.getPrductCd()) - && Objects.equals(rptDtl.getMnfNo(), mgtDtl.getMnfNo()) - && Objects.equals(rptDtl.getPrdValidDe(), mgtDtl.getPrdValidDe()) - && Objects.equals(rptDtl.getMnfSeq(), mgtDtl.getMnfSeq()) + && Objects.equals( + Objects.toString(rptDtl.getMnfNo(), "").replaceAll("-", ""), + Objects.toString(mgtDtl.getMnfNo(), "").replaceAll("-", "")) + && Objects.equals( + Objects.toString(rptDtl.getPrdValidDe(), "").replaceAll("-", ""), + Objects.toString(mgtDtl.getPrdValidDe(), "").replaceAll("-", "")) + && Objects.equals( + Objects.toString(rptDtl.getMnfSeq(), "").replaceAll("-", ""), + Objects.toString(mgtDtl.getMnfSeq(), "").replaceAll("-", "")) && Objects.equals(rptDtl.getDsuseQy(), mgtDtl.getDsuseQy())) { rptDtl.setMatchYn("Y"); break;