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;