(select id from t_step where code = 1 and step_type = 0 and rec_status = 0) step,
t_step_task st,
t_patient_wisdom_car c
where batch.batch = st.batch and step.id = st.step_id and st.task_sub_id = c.task_sub_id and st.rec_status = 0 and c.rec_status = 0 order by c.start_time desc limit 1