oracle使用参数的bug 返回

SqlSugar 老数据
1 2539



 var dt = db.Ado.SqlQuery<SYS_USER>("select * from SYS_USER where f_id=@id  and F_CREATORTIME  between  date @time and sysdate   and   F_REALNAME like @name", new { id = "1111", time = "2019-01-01", name = "XX" }).ToList();


没加between  date @time and sysdate 查询正常,加了这段,就报错了,@time 直接用 '2019-01-01' 查询也正常,请问是bug吗?

热忱回答1