update PPW_EMAIL.sys_log set isvalid=0,sysdate=sysdate() where isvalid=1 and id in #{id}