@ -215,9 +215,9 @@
LEFT JOIN logpm_basicdata_drivermiddle AS lbd ON lbc.id = lbd.brand_id
LEFT JOIN logpm_basicdata_driver_artery AS lbda ON lbd.driver_id = lbda.id
<where>
is_deleted = 0
lbc.is_deleted = 0
<if test="ids != null and ids != ''">
and id in
and lbc.id in
<foreach item="item" index="index" collection="ids" open="(" separator="," close=")">
#{item}
</foreach>