|
|
@ -166,7 +166,7 @@ |
|
|
from plm_quote_detail_routing qdr |
|
|
from plm_quote_detail_routing qdr |
|
|
left join part p on qdr.part_no = p.part_no and qdr.site = p.site |
|
|
left join part p on qdr.part_no = p.part_no and qdr.site = p.site |
|
|
left join work_center wc |
|
|
left join work_center wc |
|
|
on qdr.work_center_no = wc.work_center_no and qdr.site = wc.site and qdr.bu_no = wc.bu_no |
|
|
|
|
|
|
|
|
on qdr.work_center_no = wc.work_center_no and qdr.site = wc.site |
|
|
<where> |
|
|
<where> |
|
|
<if test="ids != null and ids.size() > 0"> |
|
|
<if test="ids != null and ids.size() > 0"> |
|
|
and qdr.tree_id in ( |
|
|
and qdr.tree_id in ( |
|
|
|