初始化CRICS
This commit is contained in:
33
Service/Implement/HostFaultsManager.cs
Normal file
33
Service/Implement/HostFaultsManager.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Domain;
|
||||
using Dao;
|
||||
|
||||
namespace Service.Implement
|
||||
{
|
||||
public class HostFaultsManager : GenericManagerBase<HostFaults>, IHostFaultsManager
|
||||
{
|
||||
public IList<HostFaults> LoadAllByPage(out long total, int page, int rows, string order, string sort, int hotelID)
|
||||
{
|
||||
return ((IHostFaultsRepository)CurrentRepository).LoadAllByPage(out total, page, rows, order, sort, hotelID).ToList();
|
||||
}
|
||||
|
||||
//public IList<object[]> LoadCurrentHostFault(int hostID)
|
||||
//{
|
||||
// return ((IHostFaultsRepository)CurrentRepository).LoadCurrentHostFault(hostID);
|
||||
//}
|
||||
|
||||
public IList<object[]> LoadHostFault(int hostID)
|
||||
{
|
||||
return ((IHostFaultsRepository)CurrentRepository).LoadHostFault(hostID);
|
||||
}
|
||||
|
||||
public void DeleteByAddress(string address, int roomTypeID)
|
||||
{
|
||||
((IHostFaultsRepository)CurrentRepository).DeleteByAddress(address, roomTypeID);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user