public int Upd_ESurvey(T_OA_REQUIREMASTER survey, List <V_EmployeeSurveySubject> addLst, List <V_EmployeeSurveySubject> updLst) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return(employeeSurveyViewBll.Upd_ESurvey(survey, addLst, updLst)); } }
public List <T_OA_REQUIRERESULT> GetResultByUserID(string userID, string masterID) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return(employeeSurveyViewBll.GetSubjectResultByUserID(userID, masterID)); } }
private T_OA_REQUIRE Get_ESurveyApp(string id) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return(employeeSurveyViewBll.Get_ESurveyApp(id)); } }
public List <V_EmployeeID> GetEmployeeList(string resqId) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return(employeeSurveyViewBll.GetEmployeeList(resqId)); } }
public int Del_ESurveyApp(List <T_OA_REQUIRE> lst) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return(employeeSurveyViewBll.Del_ESurveyApp(lst)); } }
public int Upd_ESurveyApp(T_OA_REQUIRE info) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return(employeeSurveyViewBll.Upd_ESurveyApp(info)); } }
public int Add_ESurveyResult(T_OA_REQUIREDISTRIBUTE info) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return(employeeSurveyViewBll.Add_ESurveyResult(info)); } }
private T_OA_REQUIREDISTRIBUTE Get_ESurveyResult(string id) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return(employeeSurveyViewBll.Get_ESurveyResult(id)); } }
public int Del_ESurveyResult(List <T_OA_REQUIREDISTRIBUTE> lst) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return(employeeSurveyViewBll.Del_ESurveyResult(lst)); } }
public List <V_SatisfactionResult> Result_ESurveyByRequireID(string id) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return(employeeSurveyViewBll.Result_SurveyByRequireID(id)); } }
///返回员工调查发布和满意度调查发布 ///2010-09-20 liujin public List <V_SystemNotice> GetStaffSurveyInfos(string userID, string postID, string companyID, string departmentID) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { IQueryable <V_SystemNotice> ent = employeeSurveyViewBll.GetStaffSurveyInfo(userID, postID, companyID, departmentID); return(ent != null?ent.ToList() : null); } }
public int UpdateEmployeeSurveyView(V_EmployeeSurvey infoView) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { if (employeeSurveyViewBll.UpdateEmployeeSurveyView(infoView) == 1) { return(1); } return(-1); } }
public V_EmployeeSurvey Get_ESurvey(string requireMasterID) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { IQueryable<V_EmployeeSurvey> lst = employeeSurveyViewBll.Get_ESurvey(requireMasterID); if (lst != null) return lst.ToList()[0]; else return null; } }
public int DeleteEmployeeSurveyViewList(List <V_EmployeeSurvey> infoViewList) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { if (employeeSurveyViewBll.DeleteEmployeeSurveyViewList(infoViewList) == 1) { return(1); } return(-1); } }
public List <V_EmployeeSurvey> Get_ESurveyChecked(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string companyId, string userId, string checkState) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { IQueryable <V_EmployeeSurvey> infoViewList = employeeSurveyViewBll.Get_ESurveyChecked(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userId, null, "2"); if (infoViewList != null) { return(infoViewList.ToList()); } return(null); } }
public List <V_MyEusurvey> Get_MyVisistedSurvey(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string companyId, string userId, string checkState, string postID, string companyID, string departmentID) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { IQueryable <V_MyEusurvey> infoViewList = employeeSurveyViewBll.Get_MyVisistedSurvey(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userId, null, "2", postID, companyID, departmentID); if (infoViewList != null && infoViewList.Count() > 0) { return(infoViewList.ToList()); } return(null); } }
public int SubmitResult(List <T_OA_REQUIRERESULT> resultInfoList) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { if (employeeSurveyViewBll.AddResultInfoList(resultInfoList) == 1) { return(1); } else { return(-1); } } }
public int GetResultCount(T_OA_REQUIREDETAIL answerInfo) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { int resultCount = employeeSurveyViewBll.GetResultCount(answerInfo); if (resultCount > 0) { return(resultCount); } else { return(0); } } }
public V_EmployeeSurvey Get_ESurvey(string requireMasterID) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { IQueryable <V_EmployeeSurvey> lst = employeeSurveyViewBll.Get_ESurvey(requireMasterID); if (lst != null) { return(lst.ToList()[0]); } else { return(null); } } }
public List<V_EmployeeSurvey> GetEmployeeSurveyViewList(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string companyId, string userId, string checkState) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { IQueryable<V_EmployeeSurvey> infoViewList = null; if (checkState != "4")//草稿,审核完成(已过,未过) 建立人操作 { infoViewList = employeeSurveyViewBll.GetEmployeeSurveyViewListByFlag(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userId, null, checkState); } else { string isView = "1"; if (checkState == "4") { isView = "0"; } ServiceClient workFlowWS = new ServiceClient(); SMT.SaaS.BLLCommonServices.FlowWFService.FLOW_FLOWRECORDDETAIL_T[] flowList = workFlowWS.GetFlowInfo("", "", "", isView, "T_OA_REQUIREMASTER", companyId, userId); if (flowList == null) { return null; } List<string> guidStringList = new List<string>(); foreach (SMT.SaaS.BLLCommonServices.FlowWFService.FLOW_FLOWRECORDDETAIL_T f in flowList) { guidStringList.Add(f.FLOW_FLOWRECORDMASTER_T.FORMID); } if (guidStringList.Count < 1) { return null; } infoViewList = employeeSurveyViewBll.GetEmployeeSurveyViewListByFlag(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userId, guidStringList, checkState); } if (infoViewList != null) { return infoViewList.ToList(); } return null; } }
public List <T_OA_REQUIREDISTRIBUTE> Get_ESurveyResults(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string companyId, string userId, string checkState) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { IQueryable <T_OA_REQUIREDISTRIBUTE> infoViewList = null; if (checkState != "4")//草稿,审核完成(已过,未过) 建立人操作 { infoViewList = employeeSurveyViewBll.Get_ESurveyResults(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userId, null, checkState); } else { string isView = "1"; if (checkState == "4") { isView = "0"; } ServiceClient workFlowWS = new ServiceClient(); FLOW_FLOWRECORDDETAIL_T[] flowList = workFlowWS.GetFlowInfo("", "", "", isView, "T_OA_REQUIREDISTRIBUTE", companyId, userId); if (flowList == null) { return(null); } List <string> guidStringList = new List <string>(); foreach (FLOW_FLOWRECORDDETAIL_T f in flowList) { guidStringList.Add(f.FLOW_FLOWRECORDMASTER_T.FORMID); } if (guidStringList.Count < 1) { return(null); } infoViewList = employeeSurveyViewBll.Get_ESurveyResults(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userId, guidStringList, checkState); } if (infoViewList != null) { return(infoViewList.ToList()); } return(null); } }
public int SubmitResult(List<T_OA_REQUIRERESULT> resultInfoList) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { if (employeeSurveyViewBll.AddResultInfoList(resultInfoList) == 1) { return 1; } else { return -1; } } }
public List<V_EmployeeID> GetEmployeeList(string resqId) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return employeeSurveyViewBll.GetEmployeeList(resqId); } }
private T_OA_REQUIRE Get_ESurveyApp(string id) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return employeeSurveyViewBll.Get_ESurveyApp(id); } }
public List<V_MyEusurvey> Get_MyVisistedSurvey(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string companyId, string userId, string checkState, string postID, string companyID, string departmentID) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { IQueryable<V_MyEusurvey> infoViewList = employeeSurveyViewBll.Get_MyVisistedSurvey(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userId, null, "2", postID, companyID, departmentID); if (infoViewList != null && infoViewList.Count() > 0) { return infoViewList.ToList(); } return null; } }
public int Del_ESurveyApp( List<T_OA_REQUIRE> lst) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return employeeSurveyViewBll.Del_ESurveyApp(lst); } }
public int Upd_ESurveyApp(T_OA_REQUIRE info) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return employeeSurveyViewBll.Upd_ESurveyApp(info); } }
public List<V_EmployeeSurvey> Get_ESurveyChecked(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string companyId, string userId, string checkState) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { IQueryable<V_EmployeeSurvey> infoViewList = employeeSurveyViewBll.Get_ESurveyChecked(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userId, null, "2"); if (infoViewList != null) return infoViewList.ToList(); return null; } }
public int GetResultCount(T_OA_REQUIREDETAIL answerInfo) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { int resultCount = employeeSurveyViewBll.GetResultCount(answerInfo); if (resultCount > 0) { return resultCount; } else { return 0; } } }
public int DeleteEmployeeSurveyViewList(List<V_EmployeeSurvey> infoViewList) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { if (employeeSurveyViewBll.DeleteEmployeeSurveyViewList(infoViewList) == 1) { return 1; } return -1; } }
public int UpdateEmployeeSurveyView(V_EmployeeSurvey infoView) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { if (employeeSurveyViewBll.UpdateEmployeeSurveyView(infoView) == 1) { return 1; } return -1; } }
public int Add_ESurveyResult(T_OA_REQUIREDISTRIBUTE info) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return employeeSurveyViewBll.Add_ESurveyResult(info); } }
public int Del_ESurveyResult(List<T_OA_REQUIREDISTRIBUTE> lst) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return employeeSurveyViewBll.Del_ESurveyResult(lst); } }
///返回员工调查发布和满意度调查发布 ///2010-09-20 liujin public List<V_SystemNotice> GetStaffSurveyInfos(string userID, string postID, string companyID, string departmentID) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { IQueryable<V_SystemNotice> ent = employeeSurveyViewBll.GetStaffSurveyInfo(userID, postID, companyID, departmentID); return ent != null ? ent.ToList() : null; } }
public List<T_OA_REQUIRERESULT> GetResultByUserID(string userID, string masterID) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return employeeSurveyViewBll.GetSubjectResultByUserID(userID, masterID); } }
private T_OA_REQUIREDISTRIBUTE Get_ESurveyResult(string id) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return employeeSurveyViewBll.Get_ESurveyResult(id); } }
public int Upd_ESurvey(T_OA_REQUIREMASTER survey,List<V_EmployeeSurveySubject> addLst,List<V_EmployeeSurveySubject> updLst) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return employeeSurveyViewBll.Upd_ESurvey(survey, addLst, updLst); } }
public List<V_SatisfactionResult> Result_ESurveyByRequireID(string id) { using (EmployeeSurveyViewBll employeeSurveyViewBll = new EmployeeSurveyViewBll()) { return employeeSurveyViewBll.Result_SurveyByRequireID(id); } }