fix:空木箱入库bug

This commit is contained in:
2024-08-03 10:24:03 +08:00
parent 168cdcbbdd
commit 8a9b2f7b99

View File

@@ -234,12 +234,10 @@
box.box_high
FROM
st_ivt_structattr attr
LEFT JOIN bst_ivt_boxinfo box ON box.box_no = attr.storagevehicle_code
LEFT JOIN bst_ivt_boxinfo box ON box.box_no = attr.storagevehicle_code AND box.is_packing = '0'
WHERE
attr.is_used = '1'
AND attr.is_delete = '0'
AND attr.lock_type = '1'
AND box.is_packing = '0'
AND attr.sect_id = 输入.sect_id
OPTION 输入.row_in <> ""