select * from ShopOrder where datediff(week,ordTime,getdate()-1)=0