From faf5b5f28f295aef905592defb0e0c23fc757be5 Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Fri, 24 May 2024 13:35:32 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=ED=8F=90=EA=B8=B0=EC=9D=B4=EB=AF=B8?= =?UTF-8?q?=EC=A7=80=20=EA=B4=80=EB=A0=A8=20DDL=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/database/DDL/adds_nims.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/resources/database/DDL/adds_nims.sql b/src/main/resources/database/DDL/adds_nims.sql index 3cdce29..9cc8920 100644 --- a/src/main/resources/database/DDL/adds_nims.sql +++ b/src/main/resources/database/DDL/adds_nims.sql @@ -27,6 +27,16 @@ CREATE TABLE tb_dsuse_mgt CREATE INDEX idx_tb_dsuse_mgt_01 ON tb_dsuse_mgt (org_usr_rpt_id_no ASC, usr_rpt_id_no ASC); +create table adds.tb_dsuse_mgt_dsuse_img +( + dscdmng_id varchar(10) NOT NULL COMMENT '폐기관리_id', + img_sn varchar(2) NOT NULL COMMENT '이미지일련번호', + dsuse_img_id varchar(13) NOT NULL COMMENT '폐기_이미지_id', + reg_dt varchar(14) NOT NULL COMMENT '등록_일시', + rgtr varchar(10) NOT NULL COMMENT '등록자', + PRIMARY KEY (dscdmng_id, img_sn) +) COMMENT '폐기관리_폐기_이미지'; + CREATE TABLE tb_dsuse_mgt_dtl ( dscdmng_id varchar(10) NOT NULL COMMENT '폐기관리_id', @@ -39,6 +49,7 @@ CREATE TABLE tb_dsuse_mgt_dtl prd_valid_de varchar(8) NULL COMMENT '제품_유효기한_일자', mnf_seq varchar(42) NULL COMMENT '제조_일련번호', dsuse_qy decimal NOT NULL COMMENT '폐기_수량', + dsuse_prd_img_id varchar(13) NULL COMMENT '폐기_제품_이미지_파일_ID', usr_rpt_id_no varchar(30) NULL COMMENT '사용자_보고_식별_번호', usr_rpt_ln_id_no varchar(35) NULL COMMENT '사용자_보고_라인_식별_번호', use_yn varchar(1) NOT NULL COMMENT '사용_여부',