user_status = #{userStatus} user_status in ('USC003', 'USC007') and user_id like '%'||#{userId}||'%' and user_nm like '%'||#{userNm}||'%' and og_cd = #{ogCd} and ofc_cd = #{ofcCd} and title_cd = #{titleCd} and user_role like '%ROLE_USER' and (user_role = 'ROLE_SUB_ADMIN,ROLE_USER' or user_role = 'ROLE_USER') and og_cd in #{organCd} user_status = #{userStatus} and og_cd in #{item} and og_cd = #{ogCd} and sex = #{sex} and user_nm like '%'||#{userNm}||'%' user_organ in #{organCd} and contact_ip like '%'||#{contactIp}||'%' and request_url like '%'||#{requestUrl}||'%' and request_method = #{requestMethod} and user_belong like '%'||#{userBelong}||'%' and wrt_dt >= #{startDate}::date and wrt_dt <= #{endDate}::date+1 user_organ in #{organCd} and contact_ip like '%'||#{contactIp}||'%' and inout_type = #{inoutType} and user_belong like '%'||#{userBelong}||'%' and wrt_dt >= #{startDate}::date and wrt_dt <= #{endDate}::date+1 and a.user_seq = #{userSeq} and a.view_yn = #{viewYn} and b.cat1_cd = #{cat1Cd} and b.cat2_cd = #{cat2Cd} and b.cat3_cd = #{cat3Cd} and a.alarm_msg like '%'||#{alarmMsg}||'%' And a.wrt_dt >= #{startDate}::DATE AND a.wrt_dt <= #{endDate}::DATE+1