UPDATE tra_bargainorder SET EndParkingTime = ADDTIME (CURDATE() + INTERVAL 0 HOUR,TIME(EndParkingTime)) WHERE ADDTIME>'2016-05-10 0:00:00' AND ADDTIME<'2016-05-10 16:00:00'
其中EndParkingTime格式为datetime
将某个日期时间段内的EndParkingTime字段的日期改为当前日期,时间不变