public T_OA_WORKRECORD GetWorkCordByID(string workRecordID) { using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) { return(workerCordBll.GetWorkCordByID(workRecordID)); } }
public string AddWorkCordForMobile(string title, string content, string employeeID, string strTime, ref string workRecordID) { using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) { return(workerCordBll.AddWorkCordForMobile(title, content, employeeID, strTime, ref workRecordID)); } }
public bool DelWorkerCordByID(string workRecordID) { using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) { return(workerCordBll.DeleteWorkCord(workRecordID)); } }
public List <string> GetDateByEmployeeIDAndDate(string employeeID, string strDate) { using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) { return(workerCordBll.GetDateByEmployeeIDAndDate(employeeID, strDate)); } }
public List <T_OA_WORKRECORD> GetWorkRecordsByEmployeeIDAndDate(string employeeID, string strDate) { using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) { return(workerCordBll.GetWorkRecordsByEmployeeIDAndDate(employeeID, strDate)); } }
public T_OA_WORKRECORD GetWorkRecordsByEmployeeIDAndCurrentDay(string employeeID, string strDate) { using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) { return(workerCordBll.GetWorkRecordsByEmployeeIDAndCurrentDay(employeeID, strDate)); } }
public void WorkerCordUpdate(T_OA_WORKRECORD obj) { WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll(); //using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) //{ workerCordBll.UpdateWorkCord(obj); //} }
public bool WorkerCordDel(T_OA_WORKRECORD obj) { WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll(); //using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) //{ return workerCordBll.DeleteWorkCord(obj.WORKRECORDID); //} }
public bool WorkerCordDel(T_OA_WORKRECORD obj) { WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll(); //using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) //{ return(workerCordBll.DeleteWorkCord(obj.WORKRECORDID)); //} }
public int WorkerCordAdd(T_OA_WORKRECORD obj) { WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll(); //using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) //{ bool sucess = workerCordBll.AddWorkCord(obj); if (sucess == false) { return -1; } return 1; //} }
public int WorkerCordAdd(T_OA_WORKRECORD obj) { WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll(); //using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) //{ bool sucess = workerCordBll.AddWorkCord(obj); if (sucess == false) { return(-1); } return(1); //} }
public int DeleteWorkerCordList(List<T_OA_WORKRECORD> objList) { WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll(); //using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) //{ foreach (T_OA_WORKRECORD obj in objList) { if (!workerCordBll.DeleteWorkCord(obj.WORKRECORDID)) { return -1; } } return 1; //} }
public List<T_OA_WORKRECORD> GetWorkerCordListByUserId(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string userId) { WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll(); //using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) //{ IQueryable<T_OA_WORKRECORD> workerCordList = workerCordBll.GetWorkerCodeListByUserID(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userId); if (workerCordList == null) { return null; } else { return workerCordList.ToList(); } //} }
public int DeleteWorkerCordList(List <T_OA_WORKRECORD> objList) { WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll(); //using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) //{ foreach (T_OA_WORKRECORD obj in objList) { if (!workerCordBll.DeleteWorkCord(obj.WORKRECORDID)) { return(-1); } } return(1); //} }
public List <T_OA_WORKRECORD> GetWorkerCordListByUserId(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string userId) { WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll(); //using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) //{ IQueryable <T_OA_WORKRECORD> workerCordList = workerCordBll.GetWorkerCodeListByUserID(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userId); if (workerCordList == null) { return(null); } else { return(workerCordList.ToList()); } //} }
public bool DelWorkerCordByID(string workRecordID) { using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) { return workerCordBll.DeleteWorkCord(workRecordID); } }
public string AddWorkCordForMobile(string title,string content,string employeeID,string strTime,ref string workRecordID) { using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) { return workerCordBll.AddWorkCordForMobile(title,content,employeeID,strTime,ref workRecordID); } }
public T_OA_WORKRECORD GetWorkRecordsByEmployeeIDAndCurrentDay(string employeeID, string strDate) { using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) { return workerCordBll.GetWorkRecordsByEmployeeIDAndCurrentDay(employeeID, strDate); } }
public List<T_OA_WORKRECORD> GetWorkRecordsByEmployeeIDAndDate(string employeeID, string strDate) { using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) { return workerCordBll.GetWorkRecordsByEmployeeIDAndDate(employeeID, strDate); } }
public T_OA_WORKRECORD GetWorkCordByID(string workRecordID) { using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) { return workerCordBll.GetWorkCordByID(workRecordID); } }
public List<string> GetDateByEmployeeIDAndDate(string employeeID, string strDate) { using (WorkerCordManagementBll workerCordBll = new WorkerCordManagementBll()) { return workerCordBll.GetDateByEmployeeIDAndDate(employeeID,strDate); } }