|
|
|
@ -231,12 +231,13 @@ public class ClassifyServiceImpl extends BaseServiceImpl<ClassifyMapper, Classif
|
|
|
|
|
@Override |
|
|
|
|
public List<ClassifyApiVO> selectClassifyList(String deptId) { |
|
|
|
|
Long pid = 0L; |
|
|
|
|
List<ClassifyApiVO> classifyEntities = getClassifyList(pid,deptId); |
|
|
|
|
List<ClassifyApiVO> classifyEntities = getClassifyList(pid,null); |
|
|
|
|
for (ClassifyApiVO classifyEntity : classifyEntities) { |
|
|
|
|
if (classifyEntity.getPId().equals(0L)) { |
|
|
|
|
List<ClassifyApiVO> classifyList = new ArrayList<>(); |
|
|
|
|
List<ClassifyEntity> entityList = this.list(Wrappers.<ClassifyEntity>query().lambda() |
|
|
|
|
.eq(ClassifyEntity::getPId, classifyEntity.getId()) |
|
|
|
|
.in(ClassifyEntity::getExamineDeptId, Arrays.asList(deptId)) |
|
|
|
|
.ne(ClassifyEntity::getPId, 0L) |
|
|
|
|
); |
|
|
|
|
for (ClassifyEntity entity : entityList) { |
|
|
|
|