|
|
|
@ -2,54 +2,53 @@
|
|
|
|
|
INSERT INTO tbl_code_group
|
|
|
|
|
(cg_cd, title, reg_dt, mod_dt, sys_member_id)
|
|
|
|
|
VALUES
|
|
|
|
|
('BF_RECORD_CATEGORY', '기록카테고리', '2022-02-05 00:00:00', '', 'so2');
|
|
|
|
|
|
|
|
|
|
('BF_RECORD_CATEGORY', '기록카테고리', now(), null, 'so2');
|
|
|
|
|
|
|
|
|
|
-- tbl_code_item 테이블 데이터
|
|
|
|
|
INSERT INTO tbl_code_item
|
|
|
|
|
(cd_no, title, order_no, cg_cd, val_1, ci_explain, ci_link, reg_dt, mod_dt, sys_member_id)
|
|
|
|
|
VALUES
|
|
|
|
|
('78', '모유', '1', 'BF_RECORD_CATEGORY', '1', '', '', '2022-02-05 00:00:00', '', 'so2');
|
|
|
|
|
('78', '모유', '1', 'BF_RECORD_CATEGORY', '1', '', '', '2022-02-05 00:00:00', null, 'so2');
|
|
|
|
|
|
|
|
|
|
INSERT INTO tbl_code_item
|
|
|
|
|
(cd_no, title, order_no, cg_cd, val_1, ci_explain, ci_link, reg_dt, mod_dt, sys_member_id)
|
|
|
|
|
VALUES
|
|
|
|
|
('79', '젖병', '2', 'BF_RECORD_CATEGORY', '2', '', '', '2022-02-05 00:00:00', '', 'so2');
|
|
|
|
|
('79', '젖병', '2', 'BF_RECORD_CATEGORY', '2', '', '', '2022-02-05 00:00:00', null, 'so2');
|
|
|
|
|
|
|
|
|
|
INSERT INTO tbl_code_item
|
|
|
|
|
(cd_no, title, order_no, cg_cd, val_1, ci_explain, ci_link, reg_dt, mod_dt, sys_member_id)
|
|
|
|
|
VALUES
|
|
|
|
|
('80', '간식', '3', 'BF_RECORD_CATEGORY', '3', '', '', '2022-02-05 00:00:00', '', 'so2');
|
|
|
|
|
('80', '간식', '3', 'BF_RECORD_CATEGORY', '3', '', '', '2022-02-05 00:00:00', null, 'so2');
|
|
|
|
|
|
|
|
|
|
INSERT INTO tbl_code_item
|
|
|
|
|
(cd_no, title, order_no, cg_cd, val_1, ci_explain, ci_link, reg_dt, mod_dt, sys_member_id)
|
|
|
|
|
VALUES
|
|
|
|
|
('81', '홈메이드 이유식', '4', 'BF_RECORD_CATEGORY', '4', '', '', '2022-02-05 00:00:00', '', 'so2');
|
|
|
|
|
('81', '홈메이드 이유식', '4', 'BF_RECORD_CATEGORY', '4', '', '', '2022-02-05 00:00:00', null, 'so2');
|
|
|
|
|
|
|
|
|
|
INSERT INTO tbl_code_item
|
|
|
|
|
(cd_no, title, order_no, cg_cd, val_1, ci_explain, ci_link, reg_dt, mod_dt, sys_member_id)
|
|
|
|
|
VALUES
|
|
|
|
|
('82', '시판 이유식', '5', 'BF_RECORD_CATEGORY', '5', '', '', '2022-02-05 00:00:00', '', 'so2');
|
|
|
|
|
('82', '시판 이유식', '5', 'BF_RECORD_CATEGORY', '5', '', '', '2022-02-05 00:00:00', null, 'so2');
|
|
|
|
|
|
|
|
|
|
INSERT INTO tbl_code_item
|
|
|
|
|
(cd_no, title, order_no, cg_cd, val_1, ci_explain, ci_link, reg_dt, mod_dt, sys_member_id)
|
|
|
|
|
VALUES
|
|
|
|
|
('83', '대소변', '6', 'BF_RECORD_CATEGORY', '6', '', '', '2022-02-05 00:00:00', '', 'so2');
|
|
|
|
|
('83', '대소변', '6', 'BF_RECORD_CATEGORY', '6', '', '', '2022-02-05 00:00:00', null, 'so2');
|
|
|
|
|
|
|
|
|
|
INSERT INTO tbl_code_item
|
|
|
|
|
(cd_no, title, order_no, cg_cd, val_1, ci_explain, ci_link, reg_dt, mod_dt, sys_member_id)
|
|
|
|
|
VALUES
|
|
|
|
|
('84', '예방접종', '7', 'BF_RECORD_CATEGORY', '7', '', '', '2022-02-05 00:00:00', '', 'so2');
|
|
|
|
|
('84', '예방접종', '7', 'BF_RECORD_CATEGORY', '7', '', '', '2022-02-05 00:00:00', null, 'so2');
|
|
|
|
|
|
|
|
|
|
INSERT INTO tbl_code_item
|
|
|
|
|
(cd_no, title, order_no, cg_cd, val_1, ci_explain, ci_link, reg_dt, mod_dt, sys_member_id)
|
|
|
|
|
VALUES
|
|
|
|
|
('85', '병원', '8', 'BF_RECORD_CATEGORY', '8', '', '', '2022-02-05 00:00:00', '', 'so2');
|
|
|
|
|
('85', '병원', '8', 'BF_RECORD_CATEGORY', '8', '', '', '2022-02-05 00:00:00', null, 'so2');
|
|
|
|
|
|
|
|
|
|
INSERT INTO tbl_code_item
|
|
|
|
|
(cd_no, title, order_no, cg_cd, val_1, ci_explain, ci_link, reg_dt, mod_dt, sys_member_id)
|
|
|
|
|
VALUES
|
|
|
|
|
('86', '생활', '9', 'BF_RECORD_CATEGORY', '9', '', '', '2022-02-05 00:00:00', '', 'so2');
|
|
|
|
|
('86', '생활', '9', 'BF_RECORD_CATEGORY', '9', '', '', '2022-02-05 00:00:00', null, 'so2');
|
|
|
|
|
|
|
|
|
|
-- tbl_code_item_str 부모질병관련 코드 수정
|
|
|
|
|
delete from tbl_code_item_str where cg_cd = 'BF_BABY_DISEASE';
|
|
|
|
@ -57,30 +56,32 @@ delete from tbl_code_item_str where cg_cd = 'BF_BABY_DISEASE';
|
|
|
|
|
INSERT INTO tbl_code_item_str
|
|
|
|
|
(cd_no, title, order_no, val_1, ci_explain, ci_link, reg_dt, mod_dt, sys_member_id, cg_cd)
|
|
|
|
|
VALUES
|
|
|
|
|
('BF_B_D_1', '아토피', '1', '', '', '', '2021-01-31 06:09:43', '', 'renamaestro', 'BF_BABY_DISEASE');
|
|
|
|
|
('BF_B_D_1', '아토피', '1', '', '', '', '2021-01-31 06:09:43', null, 'renamaestro', 'BF_BABY_DISEASE');
|
|
|
|
|
|
|
|
|
|
INSERT INTO tbl_code_item_str
|
|
|
|
|
(cd_no, title, order_no, val_1, ci_explain, ci_link, reg_dt, mod_dt, sys_member_id, cg_cd)
|
|
|
|
|
VALUES
|
|
|
|
|
('BF_B_D_2', '음식알레르기', '2', '', '', '', '2021-01-31 06:09:43', '', 'renamaestro', 'BF_BABY_DISEASE');
|
|
|
|
|
('BF_B_D_2', '음식알레르기', '2', '', '', '', '2021-01-31 06:09:43', null, 'renamaestro', 'BF_BABY_DISEASE');
|
|
|
|
|
|
|
|
|
|
INSERT INTO tbl_code_item_str
|
|
|
|
|
(cd_no, title, order_no, val_1, ci_explain, ci_link, reg_dt, mod_dt, sys_member_id, cg_cd)
|
|
|
|
|
VALUES
|
|
|
|
|
('BF_B_D_3', '비염', '5', '', '', '', '2021-01-31 06:09:43', '', 'renamaestro', 'BF_BABY_DISEASE');
|
|
|
|
|
('BF_B_D_3', '비염', '5', '', '', '', '2021-01-31 06:09:43', null, 'renamaestro', 'BF_BABY_DISEASE');
|
|
|
|
|
|
|
|
|
|
INSERT INTO tbl_code_item_str
|
|
|
|
|
(cd_no, title, order_no, val_1, ci_explain, ci_link, reg_dt, mod_dt, sys_member_id, cg_cd)
|
|
|
|
|
VALUES
|
|
|
|
|
('BF_B_D_4', '천식', '6', '', '', '', '2021-01-31 06:09:43', '', 'renamaestro', 'BF_BABY_DISEASE');
|
|
|
|
|
('BF_B_D_4', '천식', '6', '', '', '', '2021-01-31 06:09:43', null, 'renamaestro', 'BF_BABY_DISEASE');
|
|
|
|
|
|
|
|
|
|
INSERT INTO tbl_code_item_str
|
|
|
|
|
(cd_no, title, order_no, val_1, ci_explain, ci_link, reg_dt, mod_dt, sys_member_id, cg_cd)
|
|
|
|
|
VALUES
|
|
|
|
|
('BF_B_D_5', '햇빛알레르기', '3', '', '', '', '2022-02-06 00:00:00', '', 'so2', 'BF_BABY_DISEASE');
|
|
|
|
|
('BF_B_D_5', '햇빛알레르기', '3', '', '', '', '2022-02-06 00:00:00', null, 'so2', 'BF_BABY_DISEASE');
|
|
|
|
|
|
|
|
|
|
INSERT INTO tbl_code_item_str
|
|
|
|
|
(cd_no, title, order_no, val_1, ci_explain, ci_link, reg_dt, mod_dt, sys_member_id, cg_cd)
|
|
|
|
|
VALUES
|
|
|
|
|
('BF_B_D_6', '금속알레르기', '4', '', '', '', '2022-02-06 00:00:00', '', 'so2', 'BF_BABY_DISEASE');
|
|
|
|
|
('BF_B_D_6', '금속알레르기', '4', '', '', '', '2022-02-06 00:00:00', null, 'so2', 'BF_BABY_DISEASE');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|