预报标题模板
This commit is contained in:
+8
@@ -141,8 +141,16 @@ public class LawsMonthlyReportTitleTemplateEOServiceImpl extends ServiceImpl<Law
|
||||
return String.valueOf(p1.getSort()).compareTo(String.valueOf(p2.getSort()));
|
||||
}
|
||||
});
|
||||
for (LawsMonthlyReportTitleTemplateEO child : children) {
|
||||
if(child.getChildren().size() == 0){
|
||||
child.setChildren(null);
|
||||
}
|
||||
}
|
||||
lawsMonthlyReportTitleTemplateEO.setChildren(children);
|
||||
}
|
||||
else{
|
||||
lawsMonthlyReportTitleTemplateEO.setChildren(null);
|
||||
}
|
||||
}
|
||||
Page pages = getPages(pageNo, pageSize, parentList);
|
||||
return pages;
|
||||
|
||||
Reference in New Issue
Block a user