select * from tb_votelog where datepart(yy,vote_time)=datepart(yy,getdate()) and datepart(dy,vote_time)=datepart(dy,getdate())