Esempio n. 1
0
 /// <summary>
 /// 所有功能模块信息
 /// </summary>
 /// <returns>DataTable</returns>
 public static DataTable GetSysModuleInfo()
 {
     try
     {
         return(CompanyModuleDBHelper.GetSysModuleInfo());
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 2
0
 /// <summary>
 /// 批量增加企业功能模块
 /// </summary>
 public static bool AddCompanyModule(string companyCD, string[] module)
 {
     try
     {
         //获取登陆用户ID
         //string loginUserID = ((UserInfoUtil)SessionUtil.Session["UserInfo"]).UserID;
         string loginUserID = "wuchenghao";
         return(CompanyModuleDBHelper.AddCompanyModule(companyCD, module, loginUserID));
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 3
0
 /// <summary>
 /// 删除企业的功能模块
 /// </summary>
 public static int DelCompanyModule(CompanyModuleModel Model)
 {
     if (Model == null)
     {
         return(0);
     }
     try
     {
         return(CompanyModuleDBHelper.DelCompanyModule(Model));
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 4
0
 /// <summary>
 /// 根据企业编码获取企业的功能模块
 /// </summary>
 /// <param name="CompanyCD">企业编码</param>
 /// <returns>DataTable</returns>
 public static DataTable GetCompanyModuleInfo(string CompanyCD)
 {
     if (string.IsNullOrEmpty(CompanyCD))
     {
         return(null);
     }
     try
     {
         return(CompanyModuleDBHelper.GetCompanyModuleInfo(CompanyCD));
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 5
0
 /// <summary>
 /// 获取系统菜单信息2,读取了ParentID字段
 /// </summary>
 /// <returns>DataTable</returns>
 public static DataTable GetCompanyModuleInfo2(string CompanyCD)
 {
     return(CompanyModuleDBHelper.GetCompanyModuleInfo2(CompanyCD));
 }