select ECL_ENCRYPT('8312181157213');

select *
  from tb_elctrn_ntic_sndng;
select *
  from tb_elctrn_ntic_sndng_detail;

select *
  from tb_ens_unity_sndng_mastr;
select *
  from tb_ens_unity_sndng_detail;
select *
  from tb_ens_ci;



/** 접수 reset */
select * from tb_elctrn_ntic_sndng;
select * from tb_ens_unity_sndng_mastr;
select * from tb_ens_unity_sndng_detail;
select * from tb_ens_ci;

select * from tb_ens_ihidnum_manage;
select * from tb_ens_ci_manage;


select *
from tb_ens_ci_manage;

select *
  from tb_ens_ihidnum_manage;
select *
  from tb_ens_ci_manage;

select tecm.ci
  from tb_ens_ihidnum_manage teim
  LEFT join tb_ens_ci_manage tecm
    ON teim.ihidnum_manage_id = tecm.ihidnum_manage_id
where teim.ihidnum = 'RUNCNjEwM0JERENGMEMzNjRBOTAyMERERjg5MDFEODc=';

		SELECT tecm.ci
		  FROM tb_ens_ihidnum_manage teim
		  LEFT JOIN tb_ens_ci_manage tecm
			ON teim.ihidnum_manage_id = tecm.ihidnum_manage_id
		 WHERE teim.ihidnum = '8312181157213';

		SELECT teim.ihidnum_manage_id AS ihidnumManageId
			 , tecm.ci
		  FROM tb_ens_ihidnum_manage teim
		  LEFT JOIN tb_ens_ci_manage tecm
			ON teim.ihidnum_manage_id = tecm.ihidnum_manage_id
		 WHERE teim.ihidnum = 'RUNCNjEwM0JERENGMEMzNjRBOTAyMERERjg5MDFEODc=';