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 aa456d2..b1e44a5 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 @@ -287,10 +287,10 @@ public class NimsApiDto { /** * FIXME: 속성명 확정 필요 - * 폐기 보고 상태 + * 보고 진행 상태 코드(0-정상,1-취소,2-변경) */ - @JsonProperty(value = "DSUSE_RPT_STTUS_CD", required = true) - private String dsuseRptSttusCd; + @JsonProperty(value = "RPT_PRG_STTS_CD", required = true) + private String rptPgrSttsCd; /** * 폐기보고상세 목록 diff --git a/src/main/java/cokr/xit/adds/inf/nims/service/bean/InfNimsServiceBean.java b/src/main/java/cokr/xit/adds/inf/nims/service/bean/InfNimsServiceBean.java index 1b4f2bd..e0cde05 100644 --- a/src/main/java/cokr/xit/adds/inf/nims/service/bean/InfNimsServiceBean.java +++ b/src/main/java/cokr/xit/adds/inf/nims/service/bean/InfNimsServiceBean.java @@ -195,7 +195,7 @@ public class InfNimsServiceBean extends AbstractServiceBean implements InfNimsSe .dsuseMthCd("1") .dsuseLoc("보건소") .status("0") - .dsuseRptSttusCd("0") + .rptPgrSttsCd("0") .dsuseRptDtls(List.of(dtl1, dtl2)) .build(); diff --git a/src/main/resources/database/DDL/adds_nims.sql b/src/main/resources/database/DDL/adds_nims.sql index f3f201c..7e25028 100644 --- a/src/main/resources/database/DDL/adds_nims.sql +++ b/src/main/resources/database/DDL/adds_nims.sql @@ -69,6 +69,7 @@ CREATE TABLE tb_dsuse_mgt dsuse_loc varchar(120) NULL COMMENT '폐기_장소', dsuse_de varchar(80) NULL COMMENT '폐기_일자', status varchar(1) NULL COMMENT '처리상태(0-정상,1-취소,2-변경)', + rpt_prg_stts_cd varchar(10) NULL COMMENT '보고_진행_상태_코드', use_yn varchar(1) NOT NULL COMMENT '사용_여부', reg_dt varchar(14) NOT NULL COMMENT '등록_일시', rgtr varchar(10) NOT NULL COMMENT '등록자',