delete from tuserrequestlog where siteid=$siteid$ and tenterprise_userid=$tenterprise_userid$ and convert(varchar(10),fdate,120)=convert(varchar(10),getdate(),120)
insert into tuserrequestlog(tuserrequestlogid,siteid,rmkenable,tenterprise_userid,fdate,flastrequestdate,tagentsid,frequesttimes)
select $tuserrequestlogid$,$siteid$,0,$tenterprise_userid$,convert(varchar(10),getdate(),120),getdate(),$tagentsid$,0
