|
|
|
@ -119,7 +119,7 @@ public class BasicdataDriverArteryServiceImpl extends BaseServiceImpl<BasicdataD
|
|
|
|
|
} |
|
|
|
|
ArrayList<BasicdataDriverArteryVO> basicdataDriverArteryVOS = new ArrayList<>(); |
|
|
|
|
List<BasicdataDriverArteryEntity> list = this.list(); |
|
|
|
|
Stream<BasicdataDriverArteryEntity> basicdataDriverArteryEntityStream = list.stream().filter(l -> l.getWarehouseId().contains(myCurrentWarehouse.getId().toString())); |
|
|
|
|
Stream<BasicdataDriverArteryEntity> basicdataDriverArteryEntityStream = list.stream().filter(l -> Func.isNotEmpty(l.getWarehouseId()) && l.getWarehouseId().contains(myCurrentWarehouse.getId().toString())); |
|
|
|
|
if (Func.isNotEmpty(basicdataDriverArteryEntityStream)){ |
|
|
|
|
basicdataDriverArteryEntityStream.forEach(l->{ |
|
|
|
|
BasicdataDriverArteryVO driverArteryVO = Func.copy(l, BasicdataDriverArteryVO.class); |
|
|
|
|