Exemplo n.º 1
0
 /// <summary>
 /// 获取依赖映射的信息
 /// </summary>
 /// <param name="RefDepend_Code"></param>
 /// <param name="Module"></param>
 /// <returns></returns>
 public static Sys_Rec_RefDepend CommRefDepend(string RefDepend_Code)
 {
     Bll_Sys_Rec_RefDepend instance = new Bll_Sys_Rec_RefDepend();
     Sys_Rec_RefDepend model = instance.GetModel(" AND RefDepend_Code=RefDepend_Object AND RefDepend_Code='" + RefDepend_Code + "'  and isnull(RefDepend_ConfFlag,0) = 1");
     if (model == null)
     {
         model = instance.GetModel("  AND RefDepend_Code='" + RefDepend_Code + "'  and isnull(RefDepend_ConfFlag,0) = 1");
     }
     return model;
 }
Exemplo n.º 2
0
        /// <summary>
        /// 获取依赖映射的信息
        /// </summary>
        /// <param name="RefDepend_Code"></param>
        /// <param name="Module"></param>
        /// <returns></returns>
        public static Sys_Rec_RefDepend CommRefDepend(string RefDepend_Code)
        {
            Bll_Sys_Rec_RefDepend instance = new Bll_Sys_Rec_RefDepend();
            Sys_Rec_RefDepend     model    = instance.GetModel(" AND RefDepend_Code=RefDepend_Object AND RefDepend_Code='" + RefDepend_Code + "'  and isnull(RefDepend_ConfFlag,0) = 1");

            if (model == null)
            {
                model = instance.GetModel("  AND RefDepend_Code='" + RefDepend_Code + "'  and isnull(RefDepend_ConfFlag,0) = 1");
            }
            return(model);
        }