zhangjinrui(提问者)select CONVERT(varchar(11) ,dtime, 120) as \'Date\', * from dbo.T_Logs t
where cbusname=\'${cbusname}\' and cu8code=\'${cu8code}\'
and bok=\'${bok}\'
zhangjinrui(提问者) 回复 让过去select CONVERT(varchar(11) ,dtime, 120) as \'Date\', * from dbo.T_Logs t
where cbusname=\'${cbusname}\' and cu8code=\'${cu8code}\'
and bok=\'${bok}\' and dtime=\'${dtime}\'
加了日期参数以后不选日期什么都查不到了