Example #1
0
 //通过引擎调用 获取租房费用信息
 public void FromEngineToAddHireRecord(string HireAppID)
 {
     using (HouseHireRecord HouseRecordBll = new HouseHireRecord())
     {
         HouseRecordBll.GetHireAppToHireRecord(HireAppID);
     }
 }
Example #2
0
 public string AddHireRecord(T_OA_HIRERECORD RecordObj)
 {
     using (HouseHireRecord HouseRecordBll = new HouseHireRecord())
     {
         return(HouseRecordBll.AddHireRecord(RecordObj));
     }
 }
Example #3
0
 //获取租房人的费用 2010-6-25
 public decimal GetEmployeeHireRecordFee(string EmployeeID, int year, int month)
 {
     using (HouseHireRecord HouseRecordBll = new HouseHireRecord())
     {
         return(HouseRecordBll.GetEmployeeHireRecordFee(EmployeeID, year, month));
     }
 }
Example #4
0
 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);
     }
 }
Example #5
0
 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);
     }
 }
Example #6
0
        public string UpdateHireRecord(T_OA_HIRERECORD RecordObj)
        {
            using (HouseHireRecord HouseRecordBll = new HouseHireRecord())
            {
                string returnStr = "";

                if (!HouseRecordBll.UpdateHireRecord(RecordObj))
                {
                    returnStr = "修改数据失败";
                }
                return(returnStr);
            }
        }
Example #7
0
 //通过引擎调用 获取租房费用信息
 public void FromEngineToAddHireRecord(string HireAppID)
 {
     using (HouseHireRecord HouseRecordBll = new HouseHireRecord())
     {
         HouseRecordBll.GetHireAppToHireRecord(HireAppID);
     }
 }
Example #8
0
 //获取租房人的费用 2010-6-25
 public decimal GetEmployeeHireRecordFee(string EmployeeID, int year, int month)
 {
     using (HouseHireRecord HouseRecordBll = new HouseHireRecord())
     {
         return HouseRecordBll.GetEmployeeHireRecordFee(EmployeeID, year, month);
     }
 }
Example #9
0
 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;
     }
 }
Example #10
0
        public string UpdateHireRecord(T_OA_HIRERECORD RecordObj)
        {
            using (HouseHireRecord HouseRecordBll = new HouseHireRecord())
            {
                string returnStr = "";

                if (!HouseRecordBll.UpdateHireRecord(RecordObj))
                {
                    returnStr = "修改数据失败";
                }
                return returnStr;
            }
        }
Example #11
0
 public string AddHireRecord(T_OA_HIRERECORD RecordObj)
 {
     using (HouseHireRecord HouseRecordBll = new HouseHireRecord())
     {
         return HouseRecordBll.AddHireRecord(RecordObj);
     }
 }
Example #12
0
 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;
     }
 }