排除临时库位机制
This commit is contained in:
parent
7d69b2eafc
commit
f769bc17be
@ -169,6 +169,8 @@ public class WmStorageLocationServiceImpl implements IWmStorageLocationService {
|
||||
List<WmStorageArea> wmStorageAreaList = this.wmStorageAreaMapper.selectWmStorageAreaList(wmStorageAreaQuery).stream()
|
||||
// 过滤掉全部存在物品的库位
|
||||
.filter(it -> !selectNotEmptyAreaCodeList.contains(it.getAreaCode()))
|
||||
// 过滤掉临时库位
|
||||
.filter(it -> !it.getAreaCode().equals("TEMP"))
|
||||
.collect(Collectors.toList());
|
||||
if (wmStorageAreaList.isEmpty()) throw new RuntimeException("自动获取库位失败,无可用库位");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user