pmBottomLink.setOrderNum(new Integer(10));
DAOUtil.INSTANCE().store(pmBottomLink, aService);
// /左边面板
DOMenuModel dmRoot = new DOMenuModel();
dmRoot.setCategory(aBO);
dmRoot.setController(menuController);
dmRoot.setParentMenu(null);
// ////////同名DOMenuModel
dmRoot.setName(project.getName() + "_root");
dmRoot.setL10n("Welcome " + project.getL10n());
DOService storeRootMenu = DOService.getService("DO_UI_MenuModel_Insert_firstlevel");
DAOUtil.INSTANCE().store(dmRoot,storeRootMenu);
// ////更新菜单获取的sql语句
// DOService menuService = DOService.getService("s_menumodel_byName");
// menuService.setMainSql("select * from do_ui_menumodel where name = '" + dmRoot.getName() + "'");
// DAOUtil.INSTANCE().store(menuService);
DOMenuModel dmBP = new DOMenuModel();
dmBP.setCategory(aBO);
dmBP.setParentMenu(dmRoot);
dmBP.setController(menuController);
// ////////同名DOMenuModel
dmBP.setName(project.getName());
dmBP.setL10n(project.getL10n() );
DAOUtil.INSTANCE().store(dmBP);
// ///////组织权限相关的菜单 初始化到工程根菜单下面
// DOMenuModel dmmAuth = DOMenuModel.getMenuModelByName("dorgauth_bp");