|
@@ -45,7 +45,8 @@
|
|
|
SELECT h.id, h.parent_id, h1.name as aname, h1.status
|
|
|
FROM imcs_s_shelves h LEFT JOIN imcs_s_shelves h1 ON h.parent_id = h1.id
|
|
|
) d ON a.shelves_id = d.id
|
|
|
- LEFT JOIN imcs_z_zone z ON Locate(z.abbreviate, d.aname)
|
|
|
+ LEFT JOIN imcs_z_zone z ON Locate(z.abbreviate, left(d.aname,5))
|
|
|
+ <!--order by a.weight asc -->
|
|
|
) s ${ew.customSqlSegment}
|
|
|
</select>
|
|
|
|