//批量添加文档发布 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)); } }
//删 public bool DocDistrbuteBatchDel(string[] StrDistrbuteIDs) { using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll()) { return(DocDistrbuteBll.BatchDeleteDocDistrbuteInfos(StrDistrbuteIDs)); } }
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)); } }
//改 public bool DocDistrbuteInfoUpdate(T_OA_DISTRIBUTEUSER obj) { using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll()) { return(DocDistrbuteBll.UpdateDocDistrbuteInfo(obj)); } }
//改 public bool DocDistrbuteInfoUpdateByBatch(List <T_OA_DISTRIBUTEUSER> obj, string EntityID) { using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll()) { return(DocDistrbuteBll.UpdateDocDistrbuteInfoByBatch(obj, EntityID)); } }
//查单 public T_OA_DISTRIBUTEUSER GetDocDistrbuteSingleInfoById(string StrDistrbuteId) { using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll()) { return(DocDistrbuteBll.GetDocDistrbuteInfoById(StrDistrbuteId)); } }
//批量添加文档发布 public bool DocDistrbuteBatchAdd(T_OA_DISTRIBUTEUSER[] obj) { using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll()) { return(DocDistrbuteBll.BatchAddDocDistrbuteInfo(obj)); } }
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); } }
// 根据表单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); } } }
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); } } }
//增 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); } }
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; } }
//批量添加文档发布 public bool DocDistrbuteBatchAdd(T_OA_DISTRIBUTEUSER[] obj) { using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll()) { return DocDistrbuteBll.BatchAddDocDistrbuteInfo(obj); } }
//批量添加文档发布 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); } }
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); } }
//删 public bool DocDistrbuteBatchDel(string[] StrDistrbuteIDs) { using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll()) { return DocDistrbuteBll.BatchDeleteDocDistrbuteInfos(StrDistrbuteIDs); } }
//改 public bool DocDistrbuteInfoUpdate(T_OA_DISTRIBUTEUSER obj) { using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll()) { return DocDistrbuteBll.UpdateDocDistrbuteInfo(obj); } }
//改 public bool DocDistrbuteInfoUpdateByBatch(List<T_OA_DISTRIBUTEUSER> obj,string EntityID) { using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll()) { return DocDistrbuteBll.UpdateDocDistrbuteInfoByBatch(obj, EntityID); } }
//查单 public T_OA_DISTRIBUTEUSER GetDocDistrbuteSingleInfoById(string StrDistrbuteId) { using (BumfCompanyDocDistrbuteManagementBll DocDistrbuteBll = new BumfCompanyDocDistrbuteManagementBll()) { return DocDistrbuteBll.GetDocDistrbuteInfoById(StrDistrbuteId); } }
//增 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; } }
// 根据表单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; } } }
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; } } }