|
|
@@ -35,8 +35,8 @@ public class InboundMaterialInfoServiceImpl extends ServiceImpl<InboundMaterialI
|
|
35
|
35
|
}
|
|
36
|
36
|
|
|
37
|
37
|
@Override
|
|
38
|
|
- public Map<String, List<MaterialReserveSituationVO>> selectWarehouseForMaterialType() {
|
|
39
|
|
- List<MaterialReserveSituationVO> situationVOS = inboundMaterialInfoMapper.selectWarehouseForMaterialType();
|
|
|
38
|
+ public Map<String, List<MaterialReserveSituationVO>> selectWarehouseForMaterialType(String warehouse) {
|
|
|
39
|
+ List<MaterialReserveSituationVO> situationVOS = inboundMaterialInfoMapper.selectWarehouseForMaterialType(warehouse);
|
|
40
|
40
|
Map<String, List<MaterialReserveSituationVO>> collect =new HashMap<>();
|
|
41
|
41
|
if (situationVOS!=null&&!situationVOS.isEmpty()){
|
|
42
|
42
|
collect = situationVOS.stream().collect(Collectors.groupingBy(MaterialReserveSituationVO::getMaterialTypeZn));
|