Commit 43ccbd9d authored by 赵啸非's avatar 赵啸非

基础服务登录添加

parent 80dfd775
......@@ -238,10 +238,12 @@ public class MenuServiceImpl extends AbstractCRUDServiceImpl<MenuDao, MenuEntity
*/
private void recursionFn(List<MenuEntity> list, MenuEntity t, Set<Long> menuIdsChecked) {
// 得到子节点列表
if(t.getStatus()==YesNoEnum.NO.getValue()) return;
updateChecked(menuIdsChecked, t);
List<MenuEntity> childList = getChildList(list, t);
t.setChildren(childList);
for (MenuEntity tChild : childList) {
updateChecked(menuIdsChecked, tChild);
if (hasChild(list, tChild)) {
recursionFn(list, tChild, menuIdsChecked);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment