| | |
| | | } |
| | | |
| | | @Override |
| | | public List<LackDetailsDTO> queryLackByFlowCard(String flowCardId, int layer) { |
| | | |
| | | return this.baseMapper.queryLackByFlowCard(flowCardId, layer); |
| | | // return this.list(new LambdaQueryWrapper<HollowGlassRelationInfo>() |
| | | // .eq(HollowGlassRelationInfo::getFlowCardId,flowCardId) |
| | | // .eq(HollowGlassRelationInfo::getLayer,layer) |
| | | // .isNull(HollowGlassRelationInfo::getTemperingLayoutId) |
| | | // .isNull(HollowGlassRelationInfo::getTemperingFeedSequence) |
| | | // ); |
| | | public Map<Integer, List<LackDetailsDTO>> queryLackByFlowCard(String flowCardId) { |
| | | List<LackDetailsDTO> lackDetailsList = this.baseMapper.queryLackByFlowCard(flowCardId); |
| | | Map<Integer, List<LackDetailsDTO>> listMap = lackDetailsList.stream().collect(Collectors.groupingBy(LackDetailsDTO::getLayer)); |
| | | return listMap; |
| | | } |
| | | |
| | | } |