//通过引擎调用 获取租房费用信息 public void FromEngineToAddHireRecord(string HireAppID) { using (HouseHireRecord HouseRecordBll = new HouseHireRecord()) { HouseRecordBll.GetHireAppToHireRecord(HireAppID); } }
public string AddHireRecord(T_OA_HIRERECORD RecordObj) { using (HouseHireRecord HouseRecordBll = new HouseHireRecord()) { return(HouseRecordBll.AddHireRecord(RecordObj)); } }
//获取租房人的费用 2010-6-25 public decimal GetEmployeeHireRecordFee(string EmployeeID, int year, int month) { using (HouseHireRecord HouseRecordBll = new HouseHireRecord()) { return(HouseRecordBll.GetEmployeeHireRecordFee(EmployeeID, year, month)); } }
public List <V_HireRecord> GetHireRecordListPaging(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string checkState, LoginUserInfo loginUser) { using (HouseHireRecord HouseRecordBll = new HouseHireRecord()) { IQueryable <V_HireRecord> ent = HouseRecordBll.GetHireRecordQueryWithPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, checkState, loginUser.userID); return(ent != null?ent.ToList() : null); } }
public List <T_OA_HIRERECORD> GetHireRecordByID(string RecordID) { using (HouseHireRecord HouseRecordBll = new HouseHireRecord()) { IQueryable <T_OA_HIRERECORD> ent = HouseRecordBll.GetHireRecordById(RecordID); return(ent.Count() > 0 ? ent.ToList() : null); } }
public string UpdateHireRecord(T_OA_HIRERECORD RecordObj) { using (HouseHireRecord HouseRecordBll = new HouseHireRecord()) { string returnStr = ""; if (!HouseRecordBll.UpdateHireRecord(RecordObj)) { returnStr = "修改数据失败"; } return(returnStr); } }
//获取租房人的费用 2010-6-25 public decimal GetEmployeeHireRecordFee(string EmployeeID, int year, int month) { using (HouseHireRecord HouseRecordBll = new HouseHireRecord()) { return HouseRecordBll.GetEmployeeHireRecordFee(EmployeeID, year, month); } }
public List<V_HireRecord> GetHireRecordListPaging(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount,string checkState, LoginUserInfo loginUser) { using (HouseHireRecord HouseRecordBll = new HouseHireRecord()) { IQueryable<V_HireRecord> ent = HouseRecordBll.GetHireRecordQueryWithPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, checkState, loginUser.userID); return ent != null ? ent.ToList() : null; } }
public string UpdateHireRecord(T_OA_HIRERECORD RecordObj) { using (HouseHireRecord HouseRecordBll = new HouseHireRecord()) { string returnStr = ""; if (!HouseRecordBll.UpdateHireRecord(RecordObj)) { returnStr = "修改数据失败"; } return returnStr; } }
public string AddHireRecord(T_OA_HIRERECORD RecordObj) { using (HouseHireRecord HouseRecordBll = new HouseHireRecord()) { return HouseRecordBll.AddHireRecord(RecordObj); } }
public List<T_OA_HIRERECORD> GetHireRecordByID(string RecordID) { using (HouseHireRecord HouseRecordBll = new HouseHireRecord()) { IQueryable<T_OA_HIRERECORD> ent = HouseRecordBll.GetHireRecordById(RecordID); return ent.Count() > 0 ? ent.ToList() : null; } }