|
|
@ -375,6 +375,13 @@ public class ClassifyServiceImpl extends BaseServiceImpl<ClassifyMapper, Classif |
|
|
|
if (Func.isNotEmpty(byId)){ |
|
|
|
if (Func.isNotEmpty(byId)){ |
|
|
|
indicatorsVO.setClassifyId(byId.getId()); |
|
|
|
indicatorsVO.setClassifyId(byId.getId()); |
|
|
|
indicatorsVO.setClassifyName(byId.getName()); |
|
|
|
indicatorsVO.setClassifyName(byId.getName()); |
|
|
|
|
|
|
|
List<PointsEntity> pointsEntities = pointsService.list(Wrappers.<PointsEntity>query().lambda() |
|
|
|
|
|
|
|
.eq(PointsEntity::getClassifyId, byId.getId()) |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
if (Func.isNotEmpty(pointsEntities)) { |
|
|
|
|
|
|
|
assert pointsEntities != null; |
|
|
|
|
|
|
|
indicatorsVO.setPointsVOS(PointsWrapper.build().listVO(pointsEntities)); |
|
|
|
|
|
|
|
} |
|
|
|
ClassifyEntity penantClassifyEntity = this.getOne(Wrappers.<ClassifyEntity>query().lambda().eq(ClassifyEntity::getId, byId.getPId())); |
|
|
|
ClassifyEntity penantClassifyEntity = this.getOne(Wrappers.<ClassifyEntity>query().lambda().eq(ClassifyEntity::getId, byId.getPId())); |
|
|
|
if (Func.isNotEmpty(penantClassifyEntity)){ |
|
|
|
if (Func.isNotEmpty(penantClassifyEntity)){ |
|
|
|
indicatorsVO.setParentClassifyId(penantClassifyEntity.getId()); |
|
|
|
indicatorsVO.setParentClassifyId(penantClassifyEntity.getId()); |
|
|
|