@@ -200,7 +200,7 @@
left join {DBNAME}.warehouse wh on
pcl.warehouseregion_id=wh.id
where
- pcl.other_states = 0
+ pcl.other_states = #{otherStates}
and parent.id is null
and pcl.parent_code is not null
and pcl.del_flag = '0'