|
@@ -2790,7 +2790,7 @@ public class WmsDocOrderHeaderServiceImpl implements IWmsDocOrderHeaderService {
|
|
String orderNo = wmsDocOrderHeader.getOrderNo();
|
|
String orderNo = wmsDocOrderHeader.getOrderNo();
|
|
List<InvLotAtt> invLotAttList = invLotAttService.queryInvLotAtt(lineReleaseFrom.getPalletNo());
|
|
List<InvLotAtt> invLotAttList = invLotAttService.queryInvLotAtt(lineReleaseFrom.getPalletNo());
|
|
List<InvLotAtt> invLotAttFilterList = invLotAttList.stream().filter(item ->
|
|
List<InvLotAtt> invLotAttFilterList = invLotAttList.stream().filter(item ->
|
|
- CompareUtil.compare(item.getLotatt14(), lineReleaseFrom.getOrderNo()) == 0).collect(Collectors.toList());
|
|
|
|
|
|
+ CompareUtil.compare(item.getLotatt14(), orderNo) == 0).collect(Collectors.toList());
|
|
Assert.isTrue(CollectionUtil.isNotEmpty(invLotAttFilterList), "托盘无出库单备货库存!");
|
|
Assert.isTrue(CollectionUtil.isNotEmpty(invLotAttFilterList), "托盘无出库单备货库存!");
|
|
List<InvLotLocId> invLotLocIdList = invLotLocIdService.queryInvLotLocIdByLotnum(invLotAttFilterList.stream().map(InvLotAtt::getLotnum).collect(Collectors.toList()));
|
|
List<InvLotLocId> invLotLocIdList = invLotLocIdService.queryInvLotLocIdByLotnum(invLotAttFilterList.stream().map(InvLotAtt::getLotnum).collect(Collectors.toList()));
|
|
Assert.isTrue(CollectionUtil.isNotEmpty(invLotLocIdList), "该托盘出库单备货库存已全部出库!");
|
|
Assert.isTrue(CollectionUtil.isNotEmpty(invLotLocIdList), "该托盘出库单备货库存已全部出库!");
|