You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
150 lines
3.6 KiB
MySQL
150 lines
3.6 KiB
MySQL
2 years ago
|
DELETE from tb_cmm_file_detail;
|
||
|
DELETE from tb_cmm_file_mastr;
|
||
|
|
||
|
delete from tb_ec_esb_interface;
|
||
|
DELETE FROM tb_ec_ctzn_sttemnt_detail;
|
||
|
DELETE FROM tb_ec_ctzn_sttemnt;
|
||
|
DELETE FROM tb_ec_ctzn_sttemnt_answer;
|
||
|
|
||
|
DELETE FROM tb_rt_reglt;
|
||
|
DELETE FROM tb_rt_erpp;
|
||
|
DELETE FROM tb_rt_payer;
|
||
|
DELETE FROM tb_rt_process_sttus_change_hist;
|
||
|
|
||
|
DELETE FROM tb_ec_extrl_reglt_cntc;
|
||
|
|
||
|
commit;
|
||
|
|
||
|
select * from tb_cmm_file_detail;
|
||
|
select * from tb_cmm_file_mastr;
|
||
|
|
||
|
/*--------------------------------*/
|
||
|
|
||
|
select * from tb_ec_esb_interface;
|
||
|
select * FROM tb_ec_ctzn_sttemnt_detail;
|
||
|
select * FROM tb_ec_ctzn_sttemnt;
|
||
|
select * from tb_ec_ctzn_sttemnt_answer;
|
||
|
/*--------------------------------*/
|
||
|
|
||
|
/*--------------------------------*/
|
||
|
|
||
|
SELECT * FROM tb_rt_reglt;
|
||
|
SELECT * FROM tb_rt_erpp;
|
||
|
SELECT * FROM tb_rt_payer;
|
||
|
SELECT * FROM tb_rt_process_sttus_change_hist;
|
||
|
/*--------------------------------*/
|
||
|
|
||
|
SELECT * FROM tb_ec_extrl_reglt_cntc;
|
||
|
|
||
|
select * from xit_cmmn_detail_code where code_nm like '%주정차%';
|
||
|
select * from xit_cmmn_detail_code where code_id like 'ENS%';
|
||
|
select * from xit_cmmn_detail_code where code_id like 'XIT002%';
|
||
|
select * from xit_cmmn_detail_code where code_id like 'WEB002%';
|
||
|
select * from xit_cmmn_detail_code where code_id like 'FIM0%';
|
||
|
select * from xit_cmmn_code a
|
||
|
inner join xit_cmmn_detail_code b on (a.code_id=b.code_id)
|
||
|
where a.code_id like 'FIM%';
|
||
|
|
||
|
|
||
|
SELECT etc_2 AS code
|
||
|
, code_nm
|
||
|
FROM xit_cmmn_detail_code
|
||
|
WHERE code_id = 'FIM002'
|
||
|
AND use_at = 'Y'
|
||
|
AND etc_1 = CASE WHEN etc_2 IS NULL THEN 'NONE'
|
||
|
WHEN etc_2 = '' THEN 'NONE'
|
||
|
ELSE etc_2
|
||
|
END
|
||
|
ORDER BY ordr;
|
||
|
|
||
|
SELECT etc_1
|
||
|
, code_nm
|
||
|
FROM xit_cmmn_detail_code
|
||
|
WHERE code_id ='FIM002'
|
||
|
AND use_at = 'Y'
|
||
|
AND etc_1 = CASE WHEN ETC_1 IS NULL THEN 'NONE'
|
||
|
WHEN etc_1 = '' THEN 'NONE'
|
||
|
ELSE ETC_1
|
||
|
END
|
||
|
ORDER BY ordr;
|
||
|
|
||
|
|
||
|
SELECT A.USER_ID
|
||
|
,A.ORGNZT_ID
|
||
|
,A.USER_NM
|
||
|
,A.PASSWORD
|
||
|
,A.EMPL_NO
|
||
|
,A.IHIDNUM
|
||
|
,A.SEXDSTN_CODE
|
||
|
,A.BRTHDY
|
||
|
,A.FXNUM
|
||
|
,A.HOUSE_ADRES
|
||
|
,A.PASSWORD_HINT
|
||
|
,A.PASSWORD_CNSR
|
||
|
,A.HOUSE_END_TELNO
|
||
|
,A.AREA_NO
|
||
|
,A.DETAIL_ADRES
|
||
|
,A.ZIP
|
||
|
,A.OFFM_TELNO
|
||
|
,A.MBTLNUM
|
||
|
,A.EMAIL_ADRES
|
||
|
,A.OFCPS_NM
|
||
|
,A.HOUSE_MIDDLE_TELNO
|
||
|
,A.GROUP_ID
|
||
|
,A.PSTINST_CODE
|
||
|
,A.USER_STTUS_CODE
|
||
|
,A.ESNTL_ID
|
||
|
,A.CRTFC_DN_VALUE
|
||
|
,A.SBSCRB_DE
|
||
|
,B.JOB_DATA_AUTHOR
|
||
|
,B.USER_MANAGE_AUTHOR
|
||
|
,B.ELCTRNSANCTN_USE_AT
|
||
|
,B.JOB_CONFM_AUTHOR_AT
|
||
|
FROM XIT_USER_INFO A
|
||
|
LEFT JOIN XIT_USER_ETC_OPTION B ON A.USER_ID=B.USER_ID
|
||
|
WHERE 1=1
|
||
|
AND A.USER_ID = 'admin';
|
||
|
|
||
|
|
||
|
select * from xit_user_info where USER_ID = 'admin';
|
||
|
|
||
|
|
||
|
select * from XIT_ORGNZT_INFO;
|
||
|
|
||
|
SELECT ORGNZT_ID
|
||
|
,ORGNZT_NM
|
||
|
,ORGNZT_DC
|
||
|
FROM XIT_ORGNZT_INFO
|
||
|
WHERE 1=1
|
||
|
AND ORGNZT_ID = 'BPV';
|
||
|
|
||
|
|
||
|
select * from xit_cmmn_code where CODE_ID_NM like '%과태료%';
|
||
|
|
||
|
|
||
|
UPDATE tb_ec_ctzn_sttemnt
|
||
|
SET ctzn_sttemnt_process_sttus = IF((select count(interface_seq_n)
|
||
|
from tb_ec_ctzn_sttemnt_detail
|
||
|
where interface_seq_n = '2022091609485381568241998'
|
||
|
and ctzn_sttemnt_detail_process_sttus = '01') > 0, 'Y', 'N')
|
||
|
WHERE interface_seq_n = '2022091609485381568241998'
|
||
|
;
|
||
|
|
||
|
SELECT menu_no
|
||
|
, menu_ordr
|
||
|
, menu_nm
|
||
|
, upper_menu_no
|
||
|
, menu_dc
|
||
|
, relate_image_cours AS relateImagePath
|
||
|
, relate_image_nm
|
||
|
, progrm_file_nm
|
||
|
FROM xit_menu_info
|
||
|
WHERE upper_menu_no = '80020000'
|
||
|
;
|
||
|
|
||
|
DELETE
|
||
|
FROM xit_menu_info
|
||
|
WHERE menu_no = '80020100';
|
||
|
|
||
|
select * from
|
||
|
xit_menu_creat_dtls;
|