public int Del_SSurveyApp(List <T_OA_SATISFACTIONREQUIRE> lst) { using (SatisfactionBll satBll = new SatisfactionBll()) { return(satBll.Del_SSurveyApp(lst)); } }
public int Del_SSurveys(List <V_Satisfaction> infoViewList) { using (SatisfactionBll satBll = new SatisfactionBll()) { return(satBll.Del_SSurveys(infoViewList)); } }
public int Result_Save(List <T_OA_SATISFACTIONRESULT> resultInfoList) { using (SatisfactionBll satBll = new SatisfactionBll()) { return(satBll.Result_Save(resultInfoList)); } }
public List <T_OA_SATISFACTIONRESULT> Result_SubByUserID(string userID, string surveyID) { using (SatisfactionBll satBll = new SatisfactionBll()) { return(satBll.Result_SubByUserID(userID, surveyID)); } }
public int Add_SSurvey(V_Satisfaction v) { using (SatisfactionBll satBll = new SatisfactionBll()) { return satBll.Add_SSurvey(v); } }
public List <T_OA_SATISFACTIONRESULT> GetStaticfactonVisistedByEmployID(string UserID) { SatisfactionBll bll = new SatisfactionBll(); IQueryable <T_OA_SATISFACTIONRESULT> result = bll.GetStaticfactonVisistedByEmployID(UserID); return(result.Count() > 0 ? result.ToList() : null); }
public int Upd_SSurveyChecked(V_Satisfaction infoView) { using (SatisfactionBll satBll = new SatisfactionBll()) { return(satBll.Upd_SSurveyChecked(infoView)); } }
public int Upd_SSurveyApp(T_OA_SATISFACTIONREQUIRE info) { using (SatisfactionBll satBll = new SatisfactionBll()) { return(satBll.Upd_SSurveyApp(info)); } }
private T_OA_SATISFACTIONREQUIRE Get_SSurveyApp(string id) { using (SatisfactionBll satBll = new SatisfactionBll()) { return(satBll.Get_SSurveyApp(id)); } }
public int Add_SSurvey(V_Satisfaction v) { using (SatisfactionBll satBll = new SatisfactionBll()) { return(satBll.Add_SSurvey(v)); } }
public List <V_EmployeeID> Result_EmployeeByRequireID(string resqId) { using (SatisfactionBll satBll = new SatisfactionBll()) { return(satBll.Result_EmployeeByRequireID(resqId)); } }
private T_OA_SATISFACTIONDISTRIBUTE Get_SSurveyResult(string id) { using (SatisfactionBll satBll = new SatisfactionBll()) { return(satBll.Get_SSurveyResult(id)); } }
public int Upd_SSurveyResult(T_OA_SATISFACTIONDISTRIBUTE info) { using (SatisfactionBll satBll = new SatisfactionBll()) { return(satBll.Upd_SSurveyResult(info)); } }
public int Del_SSurveyResult(List <T_OA_SATISFACTIONDISTRIBUTE> lst) { using (SatisfactionBll satBll = new SatisfactionBll()) { return(satBll.Del_SSurveyResult(lst)); } }
public List <V_SatisfactionResult> Result_SurveyByRequireID(string surveyID) { using (SatisfactionBll satBll = new SatisfactionBll()) { return(satBll.Result_SurveyByRequireID(surveyID)); } }
public int Upd_SSurvey(V_Satisfaction infoView) { using (SatisfactionBll satBll = new SatisfactionBll()) { if (satBll.Upd_SSurvey(infoView) == 1) { return(1); } return(-1); } }
public List <T_OA_SATISFACTIONREQUIRE> Get_SSurveyAppChecked(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string companyId, string userId, string checkState) { using (SatisfactionBll satBll = new SatisfactionBll()) { IQueryable <T_OA_SATISFACTIONREQUIRE> infoViewList = satBll.Get_SSurveyAppChecked(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userId, null, "2"); if (infoViewList != null) { return(infoViewList.ToList()); } return(null); } }
public List <V_MyStaticfaction> Get_StaticfactionSurveyAppChecked(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 (SatisfactionBll satBll = new SatisfactionBll()) { IQueryable <V_MyStaticfaction> infoViewList = satBll.Get_SaticfactionSurveyAppChecked(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userId, null, "2", postID, companyID, departmentID); if (infoViewList != null) { return(infoViewList.ToList()); } return(null); } }
public int Del_SSurveySub(List <T_OA_SATISFACTIONDETAIL> lst) { using (SatisfactionBll satBll = new SatisfactionBll()) { int n = 0; foreach (T_OA_SATISFACTIONDETAIL i in lst) { n += satBll.Del_SSurveySub(i.SATISFACTIONDETAILID); } return(n); } }
public bool AddSatisfactionsMaster(T_OA_SATISFACTIONMASTER key) { SatisfactionBll masterBll=new SatisfactionBll(); bool bl = masterBll.Add_SatisfactionMaster(key); if (bl == true) { return true; } else { return false; } }
public bool AddSatisfactionsMaster(T_OA_SATISFACTIONMASTER key) { SatisfactionBll masterBll = new SatisfactionBll(); bool bl = masterBll.Add_SatisfactionMaster(key); if (bl == true) { return(true); } else { return(false); } }
public int Result_SurveySubID(string surveyID, string subID, string resultValue) { using (SatisfactionBll satBll = new SatisfactionBll()) { int resultCount = satBll.Result_SurveySubID(surveyID, subID, resultValue); if (resultCount > 0) { return(resultCount); } else { return(0); } } }
public IQueryable <V_Satisfaction> GetSurvey(string key) { using (SatisfactionBll satBll = new SatisfactionBll()) { IQueryable <V_Satisfaction> satList = satBll.Get_SSurvey(key); if (satList == null) { return(null); } else { return(satList); } } }
public bool Add_SSurveyApp(T_OA_SATISFACTIONREQUIRE info) { using (SatisfactionBll satBll = new SatisfactionBll()) { int bl = satBll.Add_SSurveyApp(info); if (bl == -1) { return(false); } else { return(true); } } }
public V_Satisfaction Get_SSurvey(string requireMasterID) { using (SatisfactionBll satBll = new SatisfactionBll()) { IQueryable <V_Satisfaction> lst = satBll.Get_SSurvey(requireMasterID); if (lst != null) { return(lst.ToList()[0]); } else { return(null); } } }
public IQueryable<V_Satisfaction> GetSurvey(string key) { using (SatisfactionBll satBll = new SatisfactionBll()) { IQueryable<V_Satisfaction> satList = satBll.Get_SSurvey(key); if (satList == null) { return null; } else { return satList; } } }
public List<V_Satisfaction> Get_SSurveys(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string companyId, string userId, string checkState) { using (SatisfactionBll satBll = new SatisfactionBll()) { IQueryable<V_Satisfaction> infoViewList = null; if (checkState != "4")//草稿,审核完成(已过,未过) 建立人操作 { infoViewList = satBll.Get_SSurveys(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_SATISFACTIONMASTER", 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 = satBll.Get_SSurveys(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userId, guidStringList, checkState); } if (infoViewList != null) { return infoViewList.ToList(); } return null; } }
public List <V_Satisfaction> Get_SSurveys(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string companyId, string userId, string checkState) { using (SatisfactionBll satBll = new SatisfactionBll()) { IQueryable <V_Satisfaction> infoViewList = null; if (checkState != "4")//草稿,审核完成(已过,未过) 建立人操作 { infoViewList = satBll.Get_SSurveys(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_SATISFACTIONMASTER", 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 = satBll.Get_SSurveys(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userId, guidStringList, checkState); } if (infoViewList != null) { return(infoViewList.ToList()); } return(null); } }
private T_OA_SATISFACTIONREQUIRE Get_SSurveyApp(string id) { using (SatisfactionBll satBll = new SatisfactionBll()) { return satBll.Get_SSurveyApp(id); } }
public List<V_MyStaticfaction> Get_StaticfactionSurveyAppChecked(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 (SatisfactionBll satBll = new SatisfactionBll()) { IQueryable<V_MyStaticfaction> infoViewList = satBll.Get_SaticfactionSurveyAppChecked(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userId, null, "2", postID, companyID, departmentID); if (infoViewList != null) return infoViewList.ToList(); return null; } }
public List<T_OA_SATISFACTIONREQUIRE> Get_SSurveyAppChecked(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string companyId, string userId, string checkState) { using (SatisfactionBll satBll = new SatisfactionBll()) { IQueryable<T_OA_SATISFACTIONREQUIRE> infoViewList = satBll.Get_SSurveyAppChecked(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userId, null, "2"); if (infoViewList != null) return infoViewList.ToList(); return null; } }
public int Upd_SSurveyApp(T_OA_SATISFACTIONREQUIRE info) { using (SatisfactionBll satBll = new SatisfactionBll()) { return satBll.Upd_SSurveyApp(info); } }
public bool Add_SSurveyApp(T_OA_SATISFACTIONREQUIRE info) { using (SatisfactionBll satBll = new SatisfactionBll()) { int bl = satBll.Add_SSurveyApp(info); if (bl == -1) { return false; } else { return true; } } }
public int Del_SSurveySub(List<T_OA_SATISFACTIONDETAIL> lst) { using (SatisfactionBll satBll = new SatisfactionBll()) { int n = 0; foreach (T_OA_SATISFACTIONDETAIL i in lst) n += satBll.Del_SSurveySub(i.SATISFACTIONDETAILID); return n; } }
public List<T_OA_SATISFACTIONRESULT> GetStaticfactonVisistedByEmployID(string UserID) { SatisfactionBll bll = new SatisfactionBll(); IQueryable<T_OA_SATISFACTIONRESULT> result = bll.GetStaticfactonVisistedByEmployID(UserID); return result.Count() > 0 ? result.ToList() : null; }
public int Del_SSurveyResult(List<T_OA_SATISFACTIONDISTRIBUTE> lst) { using (SatisfactionBll satBll = new SatisfactionBll()) { return satBll.Del_SSurveyResult(lst); } }
public int Upd_SSurveyResult(T_OA_SATISFACTIONDISTRIBUTE info) { using (SatisfactionBll satBll = new SatisfactionBll()) { return satBll.Upd_SSurveyResult(info); } }
public int Result_SurveySubID(string surveyID, string subID, string resultValue) { using (SatisfactionBll satBll = new SatisfactionBll()) { int resultCount = satBll.Result_SurveySubID(surveyID, subID, resultValue); if (resultCount > 0) { return resultCount; } else { return 0; } } }
public List<V_SatisfactionResult> Result_SurveyByRequireID(string surveyID) { using (SatisfactionBll satBll = new SatisfactionBll()) { return satBll.Result_SurveyByRequireID(surveyID); } }
public int Result_Save(List<T_OA_SATISFACTIONRESULT> resultInfoList) { using (SatisfactionBll satBll = new SatisfactionBll()) { return satBll.Result_Save(resultInfoList); } }
public List<T_OA_SATISFACTIONRESULT> Result_SubByUserID(string userID, string surveyID) { using (SatisfactionBll satBll = new SatisfactionBll()) { return satBll.Result_SubByUserID(userID, surveyID); } }
public List<V_EmployeeID> Result_EmployeeByRequireID(string resqId) { using (SatisfactionBll satBll = new SatisfactionBll()) { return satBll.Result_EmployeeByRequireID(resqId); } }
public int Upd_SSurvey(V_Satisfaction infoView) { using (SatisfactionBll satBll = new SatisfactionBll()) { if (satBll.Upd_SSurvey(infoView) == 1) { return 1; } return -1; } }
private T_OA_SATISFACTIONDISTRIBUTE Get_SSurveyResult(string id) { using (SatisfactionBll satBll = new SatisfactionBll()) { return satBll.Get_SSurveyResult(id); } }
public int Upd_SSurveyChecked(V_Satisfaction infoView) { using (SatisfactionBll satBll = new SatisfactionBll()) { return satBll.Upd_SSurveyChecked(infoView); } }
public int Del_SSurveyApp(List<T_OA_SATISFACTIONREQUIRE> lst) { using (SatisfactionBll satBll = new SatisfactionBll()) { return satBll.Del_SSurveyApp(lst); } }
public V_Satisfaction Get_SSurvey(string requireMasterID) { using (SatisfactionBll satBll = new SatisfactionBll()) { IQueryable<V_Satisfaction> lst = satBll.Get_SSurvey(requireMasterID); if (lst != null) return lst.ToList()[0]; else return null; } }
public int Del_SSurveys(List<V_Satisfaction> infoViewList) { using (SatisfactionBll satBll = new SatisfactionBll()) { return satBll.Del_SSurveys(infoViewList); } }