|
@@ -108,8 +108,6 @@
|
108
|
LEFT JOIN basic_storehouse bs ON kkd.UnitID = bs.org_id
|
108
|
LEFT JOIN basic_storehouse bs ON kkd.UnitID = bs.org_id
|
109
|
AND kkd.ch = bs.storehouse_id
|
109
|
AND kkd.ch = bs.storehouse_id
|
110
|
LEFT JOIN basic_warehouse bw ON bs.org_id = bw.org_id AND kkd.hwh = bw.warehouse_id
|
110
|
LEFT JOIN basic_warehouse bw ON bs.org_id = bw.org_id AND kkd.hwh = bw.warehouse_id
|
111
|
- LEFT JOIN basic_warehouse bw ON bs.org_id = bw.org_id
|
|
|
112
|
- AND bs.house = bw.warehouse_id AND kkd.hwh = bw.warehouse_id
|
|
|
113
|
LEFT JOIN basic_enum be ON be.enumId = kkd.pz
|
111
|
LEFT JOIN basic_enum be ON be.enumId = kkd.pz
|
114
|
LEFT JOIN basic_enum be1 ON be1.enumId = kkd.hwxz
|
112
|
LEFT JOIN basic_enum be1 ON be1.enumId = kkd.hwxz
|
115
|
LEFT JOIN basic_enum be2 ON be2.enumId = kkd.dj
|
113
|
LEFT JOIN basic_enum be2 ON be2.enumId = kkd.dj
|