|
@@ -33,7 +33,7 @@
|
|
|
select
|
|
|
<include refid="Base_Column_List"/>
|
|
|
from (
|
|
|
- select a.*,b.categoryDesc,b.name as brandName,b.no as brandNo,b.specification,0 as lockNum,0 as availableNum, u.org_id from imcs_s_stock_info a
|
|
|
+ select a.*,b.categoryDesc,b.name as brandName,b.no as brandNo,b.specification,0 as lockNum,0 as availableNum, z.org_id from imcs_s_stock_info a
|
|
|
left join view_stock_goods b on a.spec_id = b.specId
|
|
|
left join (
|
|
|
select st.id,CONCAT_WS('-',sh.shelvesDesc,st.name) as shelvesDesc, sh.no from imcs_s_storge st
|