fix:入库高度层数优化,库区限制去除
This commit is contained in:
@@ -1045,7 +1045,7 @@ public class RawAssistIStorServiceImpl implements RawAssistIStorService {
|
|||||||
} else {
|
} else {
|
||||||
// 优先入1层
|
// 优先入1层
|
||||||
row_map.put("in_layer_num", "('1')");
|
row_map.put("in_layer_num", "('1')");
|
||||||
|
in_layer_num = "('1')";
|
||||||
rowArr2 = WQL.getWO("QST_IVT_RAWASSISTISTOR").addParamMap(row_map).process().getResultJSONArray(0);
|
rowArr2 = WQL.getWO("QST_IVT_RAWASSISTISTOR").addParamMap(row_map).process().getResultJSONArray(0);
|
||||||
|
|
||||||
if (ObjectUtil.isEmpty(rowArr2)) {
|
if (ObjectUtil.isEmpty(rowArr2)) {
|
||||||
|
|||||||
@@ -287,7 +287,6 @@
|
|||||||
attr.lock_type in ('2','3','6','7')
|
attr.lock_type in ('2','3','6','7')
|
||||||
AND attr.block_num = 输入.block_num
|
AND attr.block_num = 输入.block_num
|
||||||
AND attr.row_num = 输入.row_num
|
AND attr.row_num = 输入.row_num
|
||||||
AND attr.sect_id = 输入.sect_id
|
|
||||||
AND IFNULL( attr.storagevehicle_code, '' ) <> ''
|
AND IFNULL( attr.storagevehicle_code, '' ) <> ''
|
||||||
OPTION 输入.invId <> ""
|
OPTION 输入.invId <> ""
|
||||||
attr.inv_id <> 输入.invId
|
attr.inv_id <> 输入.invId
|
||||||
@@ -317,7 +316,6 @@
|
|||||||
WHERE
|
WHERE
|
||||||
attr.block_num = 输入.block_num
|
attr.block_num = 输入.block_num
|
||||||
AND attr.row_num = 输入.row_num
|
AND attr.row_num = 输入.row_num
|
||||||
AND attr.sect_id = 输入.sect_id
|
|
||||||
AND IFNULL( attr.storagevehicle_code, '' ) <> ''
|
AND IFNULL( attr.storagevehicle_code, '' ) <> ''
|
||||||
OPTION 输入.order_by <> ""
|
OPTION 输入.order_by <> ""
|
||||||
1=1 输入.order_by
|
1=1 输入.order_by
|
||||||
|
|||||||
Reference in New Issue
Block a user