示例#1
0
 //批量添加文档发布
 public bool BatchAddCompanyDocDistrbute(T_OA_DISTRIBUTEUSER[] obj, List <string> employeeids, T_OA_SENDDOC doc)
 {
     using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
     {
         return(DocDistrbuteBll.BatchAddDocDistrbuteInfoOnlyDoc(obj, employeeids, doc));
     }
 }
示例#2
0
 //删
 public bool DocDistrbuteBatchDel(string[] StrDistrbuteIDs)
 {
     using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
     {
         return(DocDistrbuteBll.BatchDeleteDocDistrbuteInfos(StrDistrbuteIDs));
     }
 }
示例#3
0
 public bool BatchAddCompanyDocDistrbuteForNew(List <T_OA_DISTRIBUTEUSER> obj, List <string> LstCompanyIDs, List <string> LstDepartmentIDs, List <string> LstPostIDs, List <string> employeeids, T_OA_SENDDOC doc)
 {
     using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
     {
         return(DocDistrbuteBll.BatchAddDocDistrbuteInfoOnlyDocForNew(obj, LstCompanyIDs, LstDepartmentIDs, LstPostIDs, employeeids, doc));
     }
 }
示例#4
0
 //改
 public bool DocDistrbuteInfoUpdate(T_OA_DISTRIBUTEUSER obj)
 {
     using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
     {
         return(DocDistrbuteBll.UpdateDocDistrbuteInfo(obj));
     }
 }
示例#5
0
 //改
 public bool DocDistrbuteInfoUpdateByBatch(List <T_OA_DISTRIBUTEUSER> obj, string EntityID)
 {
     using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
     {
         return(DocDistrbuteBll.UpdateDocDistrbuteInfoByBatch(obj, EntityID));
     }
 }
示例#6
0
 //查单
 public T_OA_DISTRIBUTEUSER GetDocDistrbuteSingleInfoById(string StrDistrbuteId)
 {
     using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
     {
         return(DocDistrbuteBll.GetDocDistrbuteInfoById(StrDistrbuteId));
     }
 }
示例#7
0
 //批量添加文档发布
 public bool DocDistrbuteBatchAdd(T_OA_DISTRIBUTEUSER[] obj)
 {
     using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
     {
         return(DocDistrbuteBll.BatchAddDocDistrbuteInfo(obj));
     }
 }
示例#8
0
        public bool BatchAddDocDistrbuteInfoOnlyDocForMVC(List <T_OA_DISTRIBUTEUSER> DistrbuteList, List <string> LstCompanyIDs, List <string> LstDepartmentIDs, List <string> LstPostIDs, List <string> employeeids, T_OA_SENDDOC doc)
        {
            using (BumfCompanyDocDistrbuteManagementBll SendDocBll = new BumfCompanyDocDistrbuteManagementBll())
            {
                bool isReturn = true;

                isReturn = SendDocBll.BatchAddDocDistrbuteInfoOnlyDocForMVC(DistrbuteList, LstCompanyIDs, LstDepartmentIDs, LstPostIDs, employeeids, doc);
                return(isReturn);
            }
        }
示例#9
0
 // 根据表单ID获取发布对象为员工的 员工ID集合 2010-7-8 ljx
 public List <string> GetDocDistrbuteInfosByFormID(string StrFormID)
 {
     using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
     {
         List <string> DistrbuteInfosList = DocDistrbuteBll.GetDocDistrbuteUserInfosByFormID(StrFormID);
         if (DistrbuteInfosList == null)
         {
             return(null);
         }
         else
         {
             return(DistrbuteInfosList);
         }
     }
 }
示例#10
0
 public List <T_OA_DISTRIBUTEUSER> GetDocDistrbuteInfos(string StrFormID)
 {
     using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
     {
         List <T_OA_DISTRIBUTEUSER> DistrbuteInfosList = DocDistrbuteBll.GetDocDistrbuteInfos(StrFormID);
         if (DistrbuteInfosList == null)
         {
             return(null);
         }
         else
         {
             return(DistrbuteInfosList);
         }
     }
 }
示例#11
0
        //增
        public string DocDistrbuteAdd(T_OA_DISTRIBUTEUSER obj)
        {
            using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
            {
                string returnStr = "";

                bool sucess = DocDistrbuteBll.AddDocDistrbuteInfo(obj);
                if (sucess == false)
                {
                    returnStr = "添加公文发布失败";
                }

                return(returnStr);
            }
        }
示例#12
0
        public bool BatchAddDocDistrbuteInfoOnlyDocForMVC(List<T_OA_DISTRIBUTEUSER> DistrbuteList, List<string> LstCompanyIDs, List<string> LstDepartmentIDs, List<string> LstPostIDs, List<string> employeeids, T_OA_SENDDOC doc)
        {
            using (BumfCompanyDocDistrbuteManagementBll SendDocBll = new BumfCompanyDocDistrbuteManagementBll())
            {
                bool isReturn = true;

                isReturn = SendDocBll.BatchAddDocDistrbuteInfoOnlyDocForMVC(DistrbuteList, LstCompanyIDs, LstDepartmentIDs, LstPostIDs, employeeids, doc);
                return isReturn;
            }
        }
示例#13
0
 //批量添加文档发布
 public bool DocDistrbuteBatchAdd(T_OA_DISTRIBUTEUSER[] obj)
 {
     using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
     {
         return DocDistrbuteBll.BatchAddDocDistrbuteInfo(obj);
     }
 }
示例#14
0
 //批量添加文档发布
 public bool BatchAddCompanyDocDistrbute(T_OA_DISTRIBUTEUSER[] obj, List<string> employeeids, T_OA_SENDDOC doc)
 {
     using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
     {
         return DocDistrbuteBll.BatchAddDocDistrbuteInfoOnlyDoc(obj, employeeids, doc);
     }
 }
示例#15
0
 public bool BatchAddCompanyDocDistrbuteForNew(List<T_OA_DISTRIBUTEUSER> obj,List<string> LstCompanyIDs,List<string> LstDepartmentIDs,List<string> LstPostIDs, List<string> employeeids, T_OA_SENDDOC doc)
 {
     using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
     {
         return DocDistrbuteBll.BatchAddDocDistrbuteInfoOnlyDocForNew(obj,LstCompanyIDs, LstDepartmentIDs, LstPostIDs, employeeids, doc);
     }
 }
示例#16
0
 //删
 public bool DocDistrbuteBatchDel(string[] StrDistrbuteIDs)
 {
     using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
     {
         return DocDistrbuteBll.BatchDeleteDocDistrbuteInfos(StrDistrbuteIDs);
     }
 }
示例#17
0
 //改
 public bool DocDistrbuteInfoUpdate(T_OA_DISTRIBUTEUSER obj)
 {
     using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
     {
         return DocDistrbuteBll.UpdateDocDistrbuteInfo(obj);
     }
 }
示例#18
0
 //改
 public bool DocDistrbuteInfoUpdateByBatch(List<T_OA_DISTRIBUTEUSER> obj,string EntityID)
 {
     using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
     {
         return DocDistrbuteBll.UpdateDocDistrbuteInfoByBatch(obj, EntityID);
     }
 }
示例#19
0
 //查单
 public T_OA_DISTRIBUTEUSER GetDocDistrbuteSingleInfoById(string StrDistrbuteId)
 {
     using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
     {
         return DocDistrbuteBll.GetDocDistrbuteInfoById(StrDistrbuteId);
     }
 }
示例#20
0
        //增
        public string DocDistrbuteAdd(T_OA_DISTRIBUTEUSER obj)
        {
            using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
            {
                string returnStr = "";

                bool sucess = DocDistrbuteBll.AddDocDistrbuteInfo(obj);
                if (sucess == false)
                {
                    returnStr = "添加公文发布失败";
                }

                return returnStr;
            }
        }
示例#21
0
        // 根据表单ID获取发布对象为员工的 员工ID集合 2010-7-8 ljx
        public List<string> GetDocDistrbuteInfosByFormID(string StrFormID)
        {
            using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
            {
                List<string> DistrbuteInfosList = DocDistrbuteBll.GetDocDistrbuteUserInfosByFormID(StrFormID);
                if (DistrbuteInfosList == null)
                {
                    return null;
                }
                else
                {
                    return DistrbuteInfosList;
                }
            }

        }
示例#22
0
        public List<T_OA_DISTRIBUTEUSER> GetDocDistrbuteInfos(string StrFormID)
        {
            using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll())
            {
                List<T_OA_DISTRIBUTEUSER> DistrbuteInfosList = DocDistrbuteBll.GetDocDistrbuteInfos(StrFormID);
                if (DistrbuteInfosList == null)
                {
                    return null;
                }
                else
                {
                    return DistrbuteInfosList;
                }
            }

        }