-- 检查growth_record表的时长相关字段 SELECT id, order_id, student_id, record_date, start_time, end_time, duration, service_duration, TIMESTAMPDIFF(MINUTE, start_time, end_time) as calculated_duration_minutes, content, create_time FROM growth_record WHERE teacher_id = 1 ORDER BY record_date DESC LIMIT 10; -- 查看表结构 DESCRIBE growth_record;