Files
Web_CRICS_Server_VS2010_Prod/Dao/IHostFaultsRepository.cs
2025-12-11 09:17:16 +08:00

27 lines
710 B
C#

using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using Domain;
namespace Dao
{
public interface IHostFaultsRepository : IRepository<HostFaults>
{
IQueryable<HostFaults> LoadAllByPage(out long total, int page, int rows, string order, string sort, int hotelID);
HostFaults Get(int hostID, string address);
IList<object[]> LoadCurrentHostFaultStatistics(int hotelID, IList<int> groupIDs, int type);
//IList<object[]> LoadCurrentHostFault(int hostID);
IList<object[]> LoadHostFault(int hostID);
void DeleteByAddress(string address, int roomTypeID);
void DeteleByHostID(int hostID);
}
}