@@ -71,7 +71,7 @@ | |||
from | |||
th_work_order_file twof | |||
left join th_inspection_file as tf on twof.inspection_file_id = tf.id | |||
left join th_inspection_file_handle AS tfh on tf.id = tfh.inspection_file_id and tfh. | |||
left join th_inspection_file_handle AS tfh on tf.id = tfh.inspection_file_id | |||
where twof.work_order_id in | |||
<foreach item="id" collection="idList" open="(" separator="," close=")"> | |||
#{id} |