update blade_fixture bf set bf.fixture_status = #{status} where bf.id in (select btf.fix_id from blade_tray_fixture btf where btf.tray_id = #{id})