|
|
|
@ -196,11 +196,10 @@ public class ClassifyServiceImpl extends BaseServiceImpl<ClassifyMapper, Classif
|
|
|
|
|
Long pid = 0L; |
|
|
|
|
List<ClassifyApiVO> classifyEntities = getClassifyList(pid); |
|
|
|
|
for (ClassifyApiVO classifyEntity : classifyEntities) { |
|
|
|
|
if (!classifyEntity.getPId().equals(0L)){ |
|
|
|
|
if (classifyEntity.getPId().equals(0L)){ |
|
|
|
|
List<ClassifyApiVO> classifyList = getClassifyList(classifyEntity.getId()); |
|
|
|
|
List<PointsEntity> list = pointsService.list(Wrappers.<PointsEntity>query().lambda() |
|
|
|
|
.eq(PointsEntity::getClassifyId, classifyEntity.getId()) |
|
|
|
|
.ne(PointsEntity::getPoint, pid) |
|
|
|
|
); |
|
|
|
|
if (!Objects.isNull(classifyList)){ |
|
|
|
|
classifyEntity.setChildren(classifyList); |
|
|
|
|