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