你 使用的是什么数据库? Oarcle?MySQL?SQLServr?思路 :先转化为 字符串,截取前面10位 如 order by subtring(0,cast(date as varchar(22)),10)