|
|
@ -27,6 +27,16 @@ CREATE TABLE tb_dsuse_mgt
|
|
|
|
CREATE INDEX idx_tb_dsuse_mgt_01
|
|
|
|
CREATE INDEX idx_tb_dsuse_mgt_01
|
|
|
|
ON tb_dsuse_mgt (org_usr_rpt_id_no ASC, usr_rpt_id_no ASC);
|
|
|
|
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
|
|
|
|
CREATE TABLE tb_dsuse_mgt_dtl
|
|
|
|
(
|
|
|
|
(
|
|
|
|
dscdmng_id varchar(10) NOT NULL COMMENT '폐기관리_id',
|
|
|
|
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 '제품_유효기한_일자',
|
|
|
|
prd_valid_de varchar(8) NULL COMMENT '제품_유효기한_일자',
|
|
|
|
mnf_seq varchar(42) NULL COMMENT '제조_일련번호',
|
|
|
|
mnf_seq varchar(42) NULL COMMENT '제조_일련번호',
|
|
|
|
dsuse_qy decimal NOT 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_id_no varchar(30) NULL COMMENT '사용자_보고_식별_번호',
|
|
|
|
usr_rpt_ln_id_no varchar(35) NULL COMMENT '사용자_보고_라인_식별_번호',
|
|
|
|
usr_rpt_ln_id_no varchar(35) NULL COMMENT '사용자_보고_라인_식별_번호',
|
|
|
|
use_yn varchar(1) NOT NULL COMMENT '사용_여부',
|
|
|
|
use_yn varchar(1) NOT NULL COMMENT '사용_여부',
|
|
|
|