|
|
|
@ -2556,6 +2556,16 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl<Distrilb
|
|
|
|
|
//查询签收件数
|
|
|
|
|
//查询库存品数
|
|
|
|
|
// 查询签收完成订单数
|
|
|
|
|
List<DistrilbutionBillStockEntity> entityList = distrilbutionBillStockService.list(Wrappers.<DistrilbutionBillStockEntity>query().lambda() |
|
|
|
|
.eq(DistrilbutionBillStockEntity::getBillLadingId, billLadingId) |
|
|
|
|
.ne(DistrilbutionBillStockEntity::getOrderStatus, "2") |
|
|
|
|
); |
|
|
|
|
if (entityList.isEmpty()) { |
|
|
|
|
mainVO.setList(null); |
|
|
|
|
return mainVO; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<Boolean> num = baseMapper.getCompleteNum(billLadingId); |
|
|
|
|
if (Func.isNotEmpty(num)) { |
|
|
|
|
int size = num.stream().filter(f -> f.equals(true)).collect(Collectors.toList()).size(); |
|
|
|
|