에이티웍스_MAPPER_다중 IF문

서성민·2021년 11월 4일
0
where at_notice_title ILIKE '%'||#{findValue}||'%' where at_notice_writer ILIKE '%'||#{findValue}||'%' where at_notice_content ILIKE '%'||#{findValue}||'%' where at_notice_content ILIKE '%'||#{findValue}||'%' or at_notice_title ILIKE '%'||#{findValue}||'%'

if문 이렇게 사용하면 적용 안됨

====================================================





${findKey} ILIKE '%'||#{findValue}||'%'


${findKey} ILIKE '%'||#{findValue}||'%'


${findKey} ILIKE '%'||#{findValue}||'%'


at_notice_title ILIKE '%'||#{findValue}||'%'
or at_notice_content ILIKE '%'||#{findValue}||'%'




0개의 댓글