预报标题模板

This commit is contained in:
zhn
2022-07-06 13:47:16 +08:00
parent a5a71ebd86
commit cd7434da1e
@@ -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;