28 lines
937 B
C#
28 lines
937 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Domain;
|
|
|
|
namespace Dao
|
|
{
|
|
public interface IHotelAirControlRepository : IRepository<HotelAirControl>
|
|
{
|
|
IQueryable<HotelAirControl> LoadAllByPage(out long total, int page, int rows, string order, string sort);
|
|
/// <summary>
|
|
/// 根据酒店获取设置的空调记录
|
|
/// </summary>
|
|
/// <param name="hotelID"></param>
|
|
/// <returns></returns>
|
|
List<HotelAirControl> LoadByHotelID(int hotelID);
|
|
/// <summary>
|
|
/// 获取当前酒店下指定条件启用的空调设置
|
|
/// </summary>
|
|
/// <param name="hotelID"></param>
|
|
/// <param name="conditionType"></param>
|
|
/// <param name="activeIndicator"></param>
|
|
/// <returns></returns>
|
|
List<HotelAirControl> LoadAll(int hotelID, int conditionType, bool activeIndicator);
|
|
}
|
|
}
|