SELECT notice_id, notice_title, notice_type, CAST(notice_content AS CHAR) AS notice_content, status, create_by, create_time, update_by, update_time, remark FROM system_notice
SELECT notice_id, notice_title, notice_type, UTL_RAW.CAST_TO_VARCHAR2(DBMS_LOB.SUBSTR(notice_content, 8000, 1)) AS notice_content, status, create_by, create_time, update_by, update_time, remark FROM system_notice
SELECT notice_id, notice_title, notice_type, CAST(notice_content AS CHAR) AS notice_content, status, create_by, create_time, update_by, update_time, remark FROM system_notice
where notice_id = #{noticeId}
AND notice_type = #{noticeType}
AND create_by LIKE '%' || #{createBy} || '%'
AND notice_title LIKE '%' || #{noticeTitle} || '%'
AND create_by like concat('%', #{createBy}, '%')
AND notice_title like concat('%', #{noticeTitle}, '%')
insert into system_notice ( notice_title, notice_type, notice_content, status, remark, create_by, create_time )values( #{noticeTitle}, #{noticeType}, #{noticeContent}, #{status}, #{remark}, #{createBy}, sysdate() )
update system_notice notice_title = #{noticeTitle}, notice_type = #{noticeType}, notice_content = #{noticeContent}, status = #{status}, update_by = #{updateBy}, update_time = sysdate() where notice_id = #{noticeId}
delete from system_notice where notice_id = #{noticeId}
delete from system_notice where notice_id in #{noticeId}