数据库中 starttime =2021-07-28 12:20
":time" =2021-07-29
"WHERE left(starttime,11)<=:time AND left(endtime,11)>=:time"
left(starttime,11) 变成2021-07-28与time比较
数据库中 starttime =2021-07-28 12:20
":time" =2021-07-29
"WHERE left(starttime,11)<=:time AND left(endtime,11)>=:time"
left(starttime,11) 变成2021-07-28与time比较