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 921a856..27063a5 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 @@ -3,6 +3,7 @@ package cokr.xit.adds.inf.nims.model; import java.io.IOException; import java.util.ArrayList; import java.util.List; +import java.util.Objects; import javax.validation.Valid; @@ -489,11 +490,11 @@ public class NimsApiDto { if (this.listDtl.size() == mgtDto.getDsuseMgtDtls().size()) { for (DsuseRptInfoDtl rptDtl : this.listDtl) { for (BizNimsDto.DsuseMgtDtl mgtDtl : mgtDto.getDsuseMgtDtls()) { - if (rptDtl.getPrductCd().equals(mgtDtl.getPrductCd()) - && rptDtl.getMnfNo().equals(mgtDtl.getMnfNo()) - && rptDtl.getPrdValidDe().equals(mgtDtl.getPrdValidDe()) - && rptDtl.getMnfSeq().equals(mgtDtl.getMnfSeq()) - && rptDtl.getDsuseQy().equals(mgtDtl.getDsuseQy())) { + 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(rptDtl.getDsuseQy(), mgtDtl.getDsuseQy())) { rptDtl.setMatchYn("Y"); break; } diff --git a/src/main/resources/database/adds_db_update.sql b/src/main/resources/database/adds_db_update.sql index 6e16a05..6575d43 100644 --- a/src/main/resources/database/adds_db_update.sql +++ b/src/main/resources/database/adds_db_update.sql @@ -6,6 +6,17 @@ alter table tb_dsuse_mgt alter table tb_dsuse_mgt add dsuse_acdt_de varchar(8) null comment '사고발생일' after dsuse_de; +INSERT INTO tb_grp_action (GRP_ID, ACTION, REG_DT, RGTR) VALUES ('anonymousAction', '/adds/nims/getNimsBsshInfoSt.do', '20240612183715', '0000000000'); +INSERT INTO tb_grp_action (GRP_ID, ACTION, REG_DT, RGTR) VALUES ('anonymousAction', '/adds/nims/getNimsProductInfoKdAndMnfSeqInfo.do', '20240612183715', '0000000000'); +INSERT INTO tb_grp_action (GRP_ID, ACTION, REG_DT, RGTR) VALUES ('managerAciton', '/adds/nims/getNimsBsshInfoSt.do', '20240612183715', '0000000000'); +INSERT INTO tb_grp_action (GRP_ID, ACTION, REG_DT, RGTR) VALUES ('managerAciton', '/adds/nims/getNimsProductInfoKd.do', '20240705161322', '0000000000'); +INSERT INTO tb_grp_action (GRP_ID, ACTION, REG_DT, RGTR) VALUES ('managerAciton', '/adds/nims/getNimsProductInfoKdAndMnfSeqInfo.do', '20240705161322', '0000000000'); +INSERT INTO tb_grp_action (GRP_ID, ACTION, REG_DT, RGTR) VALUES ('managerAciton', '/adds/nims/getNimsProductSeqInfo.do', '20240705161322', '0000000000'); +INSERT INTO tb_grp_action (GRP_ID, ACTION, REG_DT, RGTR) VALUES ('userAction', '/adds/nims/getNimsBsshInfoSt.do', '20240612183715', '0000000000'); +INSERT INTO tb_grp_action (GRP_ID, ACTION, REG_DT, RGTR) VALUES ('userAction', '/adds/nims/getNimsProductInfoKd.do', '20240705161335', '0000000000'); +INSERT INTO tb_grp_action (GRP_ID, ACTION, REG_DT, RGTR) VALUES ('userAction', '/adds/nims/getNimsProductInfoKdAndMnfSeqInfo.do', '20240612183715', '0000000000'); +INSERT INTO tb_grp_action (GRP_ID, ACTION, REG_DT, RGTR) VALUES ('userAction', '/adds/nims/getNimsProductSeqInfo.do', '20240705161335', '0000000000'); + create or replace table tb_dsuse_rslt_img ( dscdmng_rslt_img_id varchar(12) not null comment '폐기관리_결과_이미지_id',