t.del_flag = 0
and t.mail_type = 1
and t.pk_country = #{pkCountry}
and t.title like '%'|| #{title} || '%'
and t.website_type = #{websiteType}
and t.FUNCTION_TYPE = #{functionType}
and t.publish_location like '%'|| #{publishLocation} || '%'
and t.grade like '%'|| #{grade} || '%'
and t.ROLE like '%'|| #{role} || '%'
and t.awards like '%'|| #{awards} || '%'
and t.is_pop_screen = #{isPopScreen}
and t.end_time < sysdate
and t.end_time > sysdate
and t.CREATION_TIME >= to_date(#{startDate}, 'yyyy-mm-dd')
and t.CREATION_TIME <= to_date(#{endDate} || ' 23:59:59', 'yyyy-mm-dd hh24:mi:ss')
and t.end_time >= to_date(#{startFinishtDate}, 'yyyy-mm-dd')
and t.end_time <= to_date(#{endFinishDate} || ' 23:59:59', 'yyyy-mm-dd hh24:mi:ss')
update bd_notice n
set n.del_flag = 1,
PK_MODIFIED=#{pkModified},
MODIFIED_TIME = sysdate
where PK_ID = #{pkId}
update bd_notice
approve_state = #{approveState},
approver = #{approver},
approve_time = #{approveTime},
pk_modified = #{pkModified},
modified_time = sysdate
where BATCH = #{batch}
update bd_notice
sort = #{sort},
pk_modified = #{pkModified},
OLD_SORT = #{oldSort},
modified_time = sysdate
where PK_ID = #{pkId}
update bd_notice
top = #{top},
OLD_SORT = #{oldSort},
sort = #{sort},
modified_time = sysdate
where PK_ID = #{pkId}