Files
2025-12-11 09:17:16 +08:00

26 lines
856 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain;
namespace Service.Implement
{
public class HostUpdateManager : GenericManagerBase<HostUpdate>, IHostUpdateManager
{
public IList<HostUpdate> LoadAllByPage(out long total, int page, int rows, string order, string sort, int hotelID)
{
return ((Dao.IHostUpdateRepository)(this.CurrentRepository)).LoadAllByPage(out total, page, rows, order, sort, hotelID).ToList();
}
/// <summary>
/// 根据酒店ID获取第一条记录
/// </summary>
/// <param name="hotelID"></param>
/// <returns></returns>
public HostUpdate Get(string md5, int hotelID)
{
return ((Dao.IHostUpdateRepository)(this.CurrentRepository)).Get(md5, hotelID);
}
}
}