Ejemplo n.º 1
0
 public void GetEmployeeContractEngineXml(T_HR_EMPLOYEECONTRACT entity)
 {
     using (EmployeeContractBLL bll = new EmployeeContractBLL())
     {
         bll.GetEmployeeContractEngineXml(entity);
     }
 }
Ejemplo n.º 2
0
 public void EmployeeContractAlarm(T_HR_EMPLOYEECONTRACT entity)
 {
     using (EmployeeContractBLL bll = new EmployeeContractBLL())
     {
         bll.EmployeeContractAlarm(entity);
     }
 }
Ejemplo n.º 3
0
 public T_HR_EMPLOYEECONTRACT GetEmployeeContractByEmployeeID(string employeeID)
 {
     using (EmployeeContractBLL bll = new EmployeeContractBLL())
     {
         return bll.GetEmployeeContractByEmployeeID(employeeID);
     }
 }
Ejemplo n.º 4
0
 public bool EmployeeContractDelete(string[] employeeContractIDs)
 {
     using (EmployeeContractBLL bll = new EmployeeContractBLL())
     {
         int rslt = bll.EmployeeContractDelete(employeeContractIDs);
         return (rslt > 0);
     }
 }
Ejemplo n.º 5
0
        //public void EmployeeContractAdd(T_HR_EMPLOYEECONTRACT entity, UploadFileModel uploadFile)
        //{
        //    string strPath;
        //    EmployeeContractBLL bll = new EmployeeContractBLL();
        //    SaveFile(uploadFile, out strPath);
        //    strPath = HttpContext.Current.Server.MapPath(strPath);
        //    entity.ATTACHMENTPATH = strPath;
        //    bll.EmployeeContractAdd(entity);
        //}
        public void EmployeeContractAdd(T_HR_EMPLOYEECONTRACT entity, ref string strMsg)
        {

            using (EmployeeContractBLL bll = new EmployeeContractBLL())
            {
                bll.EmployeeContractAdd(entity, ref  strMsg);
            }
        }
Ejemplo n.º 6
0
 public List<V_EMPLOYEECONTACT> EmployeeContractViewPaging(int pageIndex, int pageSize, string sort, string filterString, IList<object> paras, ref int pageCount, string strCheckState, string userID, string startToDate, string endToDate, string employeeState)
 {
     using (EmployeeContractBLL bll = new EmployeeContractBLL())
     {
         IQueryable<V_EMPLOYEECONTACT> q = bll.EmployeeContractViewPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, strCheckState, userID, startToDate, endToDate, employeeState);
         if (q != null)
         {
             return q.Count() > 0 ? q.ToList() : null;
         }
         else
         {
             return null;
         }
     }
 }
Ejemplo n.º 7
0
        public List<T_HR_EMPLOYEECONTRACT> EmployeeContractsPaging(int pageIndex, int pageSize, string sort, string filterString,
            IList<object> paras, ref int pageCount, string sType, string sValue, string strCheckState, string ownerID)
        {
            using (EmployeeContractBLL bll = new EmployeeContractBLL())
            {
                IQueryable<T_HR_EMPLOYEECONTRACT> q = bll.EmployeeContractsPaging(pageIndex, pageSize, sort, filterString, paras,
                    ref pageCount, sType, sValue, strCheckState, ownerID);

                if (q != null)
                {
                    return q.Count() > 0 ? q.ToList() : null;
                }
                else
                {
                    return null;
                }
            }
        }