diff --git a/src/main/resources/database/data.sql b/src/main/resources/database/data.sql index 97346db..8052046 100644 --- a/src/main/resources/database/data.sql +++ b/src/main/resources/database/data.sql @@ -38,11 +38,8 @@ INSERT INTO tb_cmn_code (GRP_ID, CODE, CODE_VAL, DSCRP, ETC_1, ETC_2, ETC_3, SRT INSERT INTO tb_cmn_code (GRP_ID, CODE, CODE_VAL, DSCRP, ETC_1, ETC_2, ETC_3, SRT_ORD, REG_DT, RGTR, MDFCN_DT, MDFR, USE_YN) VALUES ('ADDS11', '01', '폐기신청서접수', '', '', '', '', 1, '20240521114713', '0000000000', '20240521114713', '0000000000', 'Y'); INSERT INTO tb_cmn_code (GRP_ID, CODE, CODE_VAL, DSCRP, ETC_1, ETC_2, ETC_3, SRT_ORD, REG_DT, RGTR, MDFCN_DT, MDFR, USE_YN) VALUES ('ADDS11', '02', '폐기보고매핑', '', '', '', '', 2, '20240521114713', '0000000000', '20240521114713', '0000000000', 'Y'); INSERT INTO tb_cmn_code (GRP_ID, CODE, CODE_VAL, DSCRP, ETC_1, ETC_2, ETC_3, SRT_ORD, REG_DT, RGTR, MDFCN_DT, MDFR, USE_YN) VALUES ('ADDS11', '99', '종료', '', '', '', '', 3, '20240521114713', '0000000000', '20240521114713', '0000000000', 'Y'); -INSERT INTO tb_cmn_code (GRP_ID, CODE, CODE_VAL, DSCRP, ETC_1, ETC_2, ETC_3, SRT_ORD, REG_DT, RGTR, MDFCN_DT, MDFR, USE_YN) VALUES ('ADDS12', '01', '폐기결과통보서', '', '', '', '', 1, '20240521114713', '0000000000', '20240521114713', '0000000000', 'Y'); -INSERT INTO tb_cmn_code (GRP_ID, CODE, CODE_VAL, DSCRP, ETC_1, ETC_2, ETC_3, SRT_ORD, REG_DT, RGTR, MDFCN_DT, MDFR, USE_YN) VALUES ('ADDS12', '02', '폐기결과보고서', '', '', '', '', 2, '20240521114713', '0000000000', '20240521114713', '0000000000', 'Y'); -INSERT INTO tb_cmn_code (GRP_ID, CODE, CODE_VAL, DSCRP, ETC_1, ETC_2, ETC_3, SRT_ORD, REG_DT, RGTR, MDFCN_DT, MDFR, USE_YN) VALUES ('ADDS12', '03', '폐기현황', '', '', '', '', 3, '20240521114713', '0000000000', '20240521114713', '0000000000', 'Y'); -INSERT INTO tb_cmn_code (GRP_ID, CODE, CODE_VAL, DSCRP, ETC_1, ETC_2, ETC_3, SRT_ORD, REG_DT, RGTR, MDFCN_DT, MDFR, USE_YN) VALUES ('ADDS12', '04', '폐기처리내역', '', '', '', '', 4, '20240521114713', '0000000000', '20240521114713', '0000000000', 'Y'); -INSERT INTO tb_cmn_code (GRP_ID, CODE, CODE_VAL, DSCRP, ETC_1, ETC_2, ETC_3, SRT_ORD, REG_DT, RGTR, MDFCN_DT, MDFR, USE_YN) VALUES ('ADDS12', '05', '폐기관리대장', '', '', '', '', 5, '20240521114713', '0000000000', '20240521114713', '0000000000', 'Y'); +INSERT INTO tb_cmn_code (GRP_ID, CODE, CODE_VAL, DSCRP, ETC_1, ETC_2, ETC_3, SRT_ORD, REG_DT, RGTR, MDFCN_DT, MDFR, USE_YN) VALUES ('ADDS12', '01', '폐기결과보고서', '', '', '', '', 1, '20240521114713', '0000000000', '20240521114713', '0000000000', 'Y'); +INSERT INTO tb_cmn_code (GRP_ID, CODE, CODE_VAL, DSCRP, ETC_1, ETC_2, ETC_3, SRT_ORD, REG_DT, RGTR, MDFCN_DT, MDFR, USE_YN) VALUES ('ADDS12', '02', '폐기처리내역및사진', '', '', '', '', 2, '20240521114713', '0000000000', '20240521114713', '0000000000', 'Y'); commit; diff --git a/src/main/resources/database/work_data.sql b/src/main/resources/database/work_data.sql new file mode 100644 index 0000000..3c14c98 --- /dev/null +++ b/src/main/resources/database/work_data.sql @@ -0,0 +1,11 @@ +INSERT INTO tb_dsuse_mgt (dscdmng_id, dept_cd, user_id, prgrs_stts_cd, bssh_cd, rnd_dtl_rpt_cnt, hdr_de, dsuse_se_cd, dsuse_prv_cd, dsuse_mth_cd, dsuse_loc, dsuse_de, usr_rpt_id_no, org_usr_rpt_id_no, rpt_ty_cd, stts, use_yn, reg_dt, rgtr, mdfcn_dt, mdfr) VALUES ('2024060001', '4050149', 'suji', '11', 'D00004248', 1, '20240105', '1', '04', '3', '수지구보건소', '20240105', 'AAR_R240108122001673_H0000', 'AAR_R240108122001673_H0000', '0', '확인', 'Y', '20240604174648', 'suji', '20240605120117', null); +INSERT INTO tb_dsuse_mgt (dscdmng_id, dept_cd, user_id, prgrs_stts_cd, bssh_cd, rnd_dtl_rpt_cnt, hdr_de, dsuse_se_cd, dsuse_prv_cd, dsuse_mth_cd, dsuse_loc, dsuse_de, usr_rpt_id_no, org_usr_rpt_id_no, rpt_ty_cd, stts, use_yn, reg_dt, rgtr, mdfcn_dt, mdfr) VALUES ('2024060002', '4050149', 'suji', '11', 'D00005271', 7, '20240105', '1', '04', '3', '수지구보건소 검사실', '20240105', 'AAR_R240108123706946_H0000', 'AAR_R240108123706946_H0000', '0', '확인', 'Y', '20240604175427', 'suji', '20240605144128', null); + +INSERT INTO tb_dsuse_mgt_dtl (dscdmng_id, dscdmng_sn, prduct_cd, prduct_nm, min_distb_qy, min_distb_unit, pce_qy, pce_unit, mnf_no, prd_valid_de, mnf_seq, dsuse_qy, usr_rpt_id_no, usr_rpt_ln_id_no, use_yn, reg_dt, rgtr, mdfcn_dt, mdfr) VALUES ('2024060001', '001', '8806519017940', '졸피신정10mg (10mg)', 1, '병', 0, '정', '20005', '20230722', '2010136201005327', 28, null, null, 'Y', '20240604174648', 'suji', null, null); +INSERT INTO tb_dsuse_mgt_dtl (dscdmng_id, dscdmng_sn, prduct_cd, prduct_nm, min_distb_qy, min_distb_unit, pce_qy, pce_unit, mnf_no, prd_valid_de, mnf_seq, dsuse_qy, usr_rpt_id_no, usr_rpt_ln_id_no, use_yn, reg_dt, rgtr, mdfcn_dt, mdfr) VALUES ('2024060002', '001', '8806718002723', '대원디아제팜정2밀리그램(수출명:디아잠정2밀리그램)(수출명2:트레즈콘정2밀리그램) (2㎎)', 0, '병', 120, '정', '20023', '20231119', '2002311466736', 120, null, null, 'Y', '20240604175427', 'suji', null, null); +INSERT INTO tb_dsuse_mgt_dtl (dscdmng_id, dscdmng_sn, prduct_cd, prduct_nm, min_distb_qy, min_distb_unit, pce_qy, pce_unit, mnf_no, prd_valid_de, mnf_seq, dsuse_qy, usr_rpt_id_no, usr_rpt_ln_id_no, use_yn, reg_dt, rgtr, mdfcn_dt, mdfr) VALUES ('2024060002', '002', '8806433003210', '데파스정1mg (1㎎)', 0, '병', 6, '정', 'EE003H76', '20220617', '190710L5F2394', 6, null, null, 'Y', '20240604175428', 'suji', null, null); +INSERT INTO tb_dsuse_mgt_dtl (dscdmng_id, dscdmng_sn, prduct_cd, prduct_nm, min_distb_qy, min_distb_unit, pce_qy, pce_unit, mnf_no, prd_valid_de, mnf_seq, dsuse_qy, usr_rpt_id_no, usr_rpt_ln_id_no, use_yn, reg_dt, rgtr, mdfcn_dt, mdfr) VALUES ('2024060002', '003', '8806429011625', '아티반정1밀리그람(로라제팜) (1㎎)', 0, '병', 22, '정', 'M02002', '20230224', '0000507161', 22, null, null, 'Y', '20240604175428', 'suji', null, null); +INSERT INTO tb_dsuse_mgt_dtl (dscdmng_id, dscdmng_sn, prduct_cd, prduct_nm, min_distb_qy, min_distb_unit, pce_qy, pce_unit, mnf_no, prd_valid_de, mnf_seq, dsuse_qy, usr_rpt_id_no, usr_rpt_ln_id_no, use_yn, reg_dt, rgtr, mdfcn_dt, mdfr) VALUES ('2024060002', '004', '8806435071637', '졸피드정5밀리그램(졸피뎀타르타르산염) (5㎎)', 0, '병', 19, '정', '089619021', '20221015', '204847799109', 19, null, null, 'Y', '20240604175428', 'suji', null, null); +INSERT INTO tb_dsuse_mgt_dtl (dscdmng_id, dscdmng_sn, prduct_cd, prduct_nm, min_distb_qy, min_distb_unit, pce_qy, pce_unit, mnf_no, prd_valid_de, mnf_seq, dsuse_qy, usr_rpt_id_no, usr_rpt_ln_id_no, use_yn, reg_dt, rgtr, mdfcn_dt, mdfr) VALUES ('2024060002', '005', '8806494026722', '펜민정(염산펜터민) (37.5㎎)', 0, '병', 80, '정', '20001A', '20230419', '20001A000606', 80, null, null, 'Y', '20240604175428', 'suji', null, null); +INSERT INTO tb_dsuse_mgt_dtl (dscdmng_id, dscdmng_sn, prduct_cd, prduct_nm, min_distb_qy, min_distb_unit, pce_qy, pce_unit, mnf_no, prd_valid_de, mnf_seq, dsuse_qy, usr_rpt_id_no, usr_rpt_ln_id_no, use_yn, reg_dt, rgtr, mdfcn_dt, mdfr) VALUES ('2024060002', '006', '8806718033215', '펜키니정(염산펜터민) (37.5㎎)', 0, '병', 2, '정', '20003', '20230510', '2000311213942', 2, null, null, 'Y', '20240604175428', 'suji', null, null); +INSERT INTO tb_dsuse_mgt_dtl (dscdmng_id, dscdmng_sn, prduct_cd, prduct_nm, min_distb_qy, min_distb_unit, pce_qy, pce_unit, mnf_no, prd_valid_de, mnf_seq, dsuse_qy, usr_rpt_id_no, usr_rpt_ln_id_no, use_yn, reg_dt, rgtr, mdfcn_dt, mdfr) VALUES ('2024060002', '007', '8806489012426', '할시온정0.25밀리그람(트리아졸람) (0.25㎎)', 0, '박스', 2, '정', 'CY5151', '20220930', '481706276945', 2, null, null, 'Y', '20240604175428', 'suji', null, null);