From b906f33f79898be2154dab7d3487c3c5216c9aa7 Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Mon, 8 Jul 2024 17:31:54 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=8A=B9=EC=9D=B4=EC=82=AC=ED=95=AD?= =?UTF-8?q?=EC=9E=85=EB=A0=A5(dsuse=5Frmk)=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/adds/biz/nims/model/BizNimsDto.java | 5 +++++ src/main/resources/database/adds_db_update.sql | 3 +++ src/main/resources/sql/mapper/biz/nims-mysql-mapper.xml | 1 + 3 files changed, 9 insertions(+) create mode 100644 src/main/resources/database/adds_db_update.sql diff --git a/src/main/java/cokr/xit/adds/biz/nims/model/BizNimsDto.java b/src/main/java/cokr/xit/adds/biz/nims/model/BizNimsDto.java index f51c882..ac17c5a 100644 --- a/src/main/java/cokr/xit/adds/biz/nims/model/BizNimsDto.java +++ b/src/main/java/cokr/xit/adds/biz/nims/model/BizNimsDto.java @@ -143,6 +143,11 @@ public class BizNimsDto { @Pattern(regexp = Constants.DATE_REGX, message = "폐기일자를 정확히 입력해 주세요(yyyyMMdd)") private String dsuseDe; + /** + * 폐기 비고 - 폐기완료시 입력되는 비고 + */ + private String dsuseRmk; + /** *
          * 사용자 보고 식별 번호
diff --git a/src/main/resources/database/adds_db_update.sql b/src/main/resources/database/adds_db_update.sql
new file mode 100644
index 0000000..824eb28
--- /dev/null
+++ b/src/main/resources/database/adds_db_update.sql
@@ -0,0 +1,3 @@
+/* 폐기보고시 입력하는 비고 추가 */
+alter table tb_dsuse_mgt
+    add dsuse_rmk varchar(512) null comment '폐기_비고' after dsuse_de;
diff --git a/src/main/resources/sql/mapper/biz/nims-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/nims-mysql-mapper.xml
index 0776b67..abee5fc 100644
--- a/src/main/resources/sql/mapper/biz/nims-mysql-mapper.xml
+++ b/src/main/resources/sql/mapper/biz/nims-mysql-mapper.xml
@@ -428,6 +428,7 @@
                tdm.dsuse_mth_cd,        /** 폐기방법코드 */
                tdm.dsuse_loc,           /** 폐기장소 */
                tdm.dsuse_de,            /** 폐기일자 */
+               tdm.dsuse_rmk,           /** 폐기 비고 */
                tdm.stts,                /** 처리상태 */
                tdm.usr_rpt_id_no,       /** 사용자보고식별번호 */
                tdm.org_usr_rpt_id_no,   /** 원사용자보고식별번호 */