|
@@ -420,7 +420,8 @@ public class ResponsibilityServiceImpl extends ServiceImpl<ResponsibilityMapper,
|
|
|
public List<CostResponsibilityLevelVO> getLevelTwo(Long hospId) {
|
|
|
List<Responsibility> responsibilities = baseMapper.selectList(new QueryWrapper<Responsibility>().lambda()
|
|
|
.eq(Responsibility::getHospId, hospId)
|
|
|
- .eq(Responsibility::getIsGatherCenter, NumberConstant.TWO));
|
|
|
+ .eq(Responsibility::getIsGatherCenter, NumberConstant.TWO)
|
|
|
+ .ne(Responsibility::getShareId,NumberConstant.ZERO));
|
|
|
List<CostResponsibilityLevelVO> costResponsibilityLevelVOS = BeanUtil.convertList(responsibilities, CostResponsibilityLevelVO.class);
|
|
|
List<CostShareLevelVO> costShareLevelServiceAll = costShareLevelService.getAll(hospId);
|
|
|
Map<Long, List<CostShareLevelVO>> listMap = costShareLevelServiceAll.stream().collect(Collectors.groupingBy(CostShareLevelVO::getId));
|