重构书签目录管理样式

This commit is contained in:
WangHao
2021-11-07 22:27:41 +08:00
parent 62703cb746
commit 2b0959db3a
2 changed files with 84 additions and 51 deletions

View File

@ -141,6 +141,13 @@ public class SqMenuServiceImpl implements ISqMenuService
String menuUplinkSeries = addMenuUplinkSeries(sqMenu.getMenuId());
sqMenuMapper.updateSqMenu(new SqMenu(sqMenu.getMenuId(),menuUplinkSeries));
}
//设置是否有下级的标识符
if(!"0".equals(parentId)){
SqMenu sm = new SqMenu();
sm.setMenuId(sqMenu.getParentId());
sm.setSubordinate(1);
sqMenuMapper.updateSqMenu(sm);
}
return i;
}
/**