rev:找相同规格木箱优化
This commit is contained in:
@@ -463,6 +463,7 @@ public class InBoxManageServiceImpl implements InBoxManageService {
|
||||
&& row.getDoubleValue("box_width") == jsonParam.getDoubleValue("box_width")
|
||||
&& row.getDoubleValue("box_high") == jsonParam.getDoubleValue("box_high")
|
||||
&& row.getString("lock_type").equals(IOSEnum.LOCK_TYPE.code("未锁定"))
|
||||
&& row.getString("is_packing").equals(IOSEnum.IS_NOTANDYES.code("否"))
|
||||
&& ObjectUtil.isNotEmpty(row.getString("storagevehicle_code"))
|
||||
)
|
||||
.collect(Collectors.toList());
|
||||
|
||||
@@ -231,10 +231,11 @@
|
||||
attr.*,
|
||||
box.box_length,
|
||||
box.box_width,
|
||||
box.box_high
|
||||
box.box_high,
|
||||
box.is_packing
|
||||
FROM
|
||||
st_ivt_structattr attr
|
||||
LEFT JOIN bst_ivt_boxinfo box ON box.box_no = attr.storagevehicle_code AND box.is_packing = '0'
|
||||
LEFT JOIN bst_ivt_boxinfo box ON box.box_no = attr.storagevehicle_code
|
||||
WHERE
|
||||
attr.is_used = '1'
|
||||
AND attr.is_delete = '0'
|
||||
|
||||
Reference in New Issue
Block a user