tfh.audit_time as auditTime | tfh.audit_time as auditTime | ||||
from | from | ||||
th_inspection_file as tf | th_inspection_file as tf | ||||
left join th_inspection_file_handle AS tfh on tf.id = tfh.inspection_file_id | |||||
where tf.mark =1 and tfh.mark=1 | |||||
left join th_inspection_file_handle AS tfh on tf.id = tfh.inspection_file_id and tfh.mark=1 | |||||
where tf.mark =1 | |||||
and tf.id=#{id} | and tf.id=#{id} | ||||
</select> | </select> | ||||