-----------------------------------只有这两个地方使用了@thisDate--------------------9:44 CONVERT(NVARCHAR(10),VOUCHER.CHECKDATE,120) like ''+CONVERT(NVARCHAR(10),@THISDATE)+'%'==============================convert(nvarchar(10) , voucher.CheckDate,120) < convert(nvarchar(7),@ThisDate,120)