Пример #1
0
 public bool UpdRequireMaster(V_EmployeeSurveyMaster updMaterKey)
 {
     try
     {
       if (updMaterKey != null&&updMaterKey.answerList.Count() > 0 &&!string.IsNullOrEmpty(updMaterKey.RequireMasterId))
       {
           using (EmployeeSurveyBll updBll = new EmployeeSurveyBll())
           {
               return updBll.UpdRequireMaster(updMaterKey);
           }
       }
         return false;
     }
     catch (Exception ex)
     {
         Tracer.Debug("员工调查方案EmployeeSurveyService-UpdRequireMaster" + System.DateTime.Now.ToString() + " " + ex.ToString());
         return false;
     }
 }
Пример #2
0
 public bool AddRequireMaster(V_EmployeeSurveyMaster addMasterKey)
 {
     try
     {
         if (addMasterKey != null&&addMasterKey.answerList.Count() > 0 )
         {
             using (EmployeeSurveyBll addBll = new EmployeeSurveyBll())
             {
                bool add= addBll.AddRequireMaster(addMasterKey);
                return add;
             }
         }
         return false;
     }
     catch (Exception ex)
     {
         Tracer.Debug("员工调查方案EmployeeSurveyService-AddRequireMaster" + System.DateTime.Now.ToString() + " " + ex.ToString());
         return false;
     }
 }
Пример #3
0
 public bool UpdateEmployeeSurveys(V_EmployeeSurveyMaster master)
   {
       try
       {
           return bll.UpdateEmployeeSurveys(master);
       }
       catch (Exception ex)
       {
           Tracer.Error(ex.Message);
           return false;
       }
   }