|
|
|
@ -2348,7 +2348,7 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
if (ObjectUtils.isNotNull(myCurrentWarehouse)) { |
|
|
|
|
if (!listR.getData().isEmpty()) { |
|
|
|
|
List<User> collect = listR.getData().stream().filter(i -> |
|
|
|
|
ObjectUtils.isNotNull(i.getDeptId()) ? i.getDeptId().equals(myCurrentWarehouse.getDepartment().toString()) : false |
|
|
|
|
ObjectUtils.isNotNull(i.getDeptId()) ? i.getDeptId().contains(myCurrentWarehouse.getDepartment().toString()) : false |
|
|
|
|
).collect(Collectors.toList()); |
|
|
|
|
return collect; |
|
|
|
|
} else { |
|
|
|
|