|
|
|
@ -264,8 +264,12 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
if (Func.isNotEmpty(distributionDeliveryList.get("ids"))){ |
|
|
|
|
//进行勾选操作
|
|
|
|
|
List<Long> deliveryId = Func.toLongList((String) distributionDeliveryList.get("ids")); |
|
|
|
|
if (!deliveryId.isEmpty()){ |
|
|
|
|
distributionDeliveryList.put("ids",deliveryId); |
|
|
|
|
} |
|
|
|
|
}else { |
|
|
|
|
distributionDeliveryList.remove("ids"); |
|
|
|
|
} |
|
|
|
|
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient.getMyCurrentWarehouse(); |
|
|
|
|
if (Func.isEmpty(myCurrentWarehouse)){ |
|
|
|
|
//未选择仓库查看当前登录人可以进行操作的仓库
|
|
|
|
@ -296,8 +300,10 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
deliveryListExcel.setScannedNumber(dis.getScannedNumber()); |
|
|
|
|
deliveryListExcel.setSigningNumber(dis.getSigningNumber()); |
|
|
|
|
deliveryListExcel.setLoadingTeam(dis.getHandlingCrew()); |
|
|
|
|
if (!Objects.isNull(dis.getWarehouseId())){ |
|
|
|
|
BasicdataWarehouseEntity entityWarehouseId = warehouseClient.getEntityWarehouseId(dis.getWarehouseId()); |
|
|
|
|
deliveryListExcel.setWarehouseName(entityWarehouseId.getName()); |
|
|
|
|
} |
|
|
|
|
list.add(deliveryListExcel); |
|
|
|
|
}); |
|
|
|
|
return list; |
|
|
|
|