using HStation.CAL;
|
|
namespace HStation.BLL
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public class XhsScheme : IXhsScheme
|
{
|
private readonly HStation.CAL.IXhsScheme _cal = CALCreateHelper.CreateCAL<HStation.CAL.IXhsScheme>();
|
|
public Task<bool> BulkInserts(List<AddXhsSchemeInput> list)
|
{
|
return _cal.BulkInserts(list);
|
}
|
|
public Task<bool> BulkUpdates(List<UpdateXhsSchemeInput> list)
|
{
|
return _cal.BulkUpdates(list);
|
}
|
|
public Task<bool> DeleteAll()
|
{
|
return _cal.DeleteAll();
|
}
|
|
public Task<bool> DeleteByID(long ID)
|
{
|
return _cal.DeleteByID(ID);
|
}
|
|
public Task<bool> DeleteByIds(List<long> Ids)
|
{
|
return _cal.DeleteByIds(Ids);
|
}
|
|
public Task<List<XhsSchemeDto>> GetAll()
|
{
|
return _cal.GetAll();
|
}
|
|
public Task<XhsSchemeDto> GetByID(long ID)
|
{
|
return _cal.GetByID(ID);
|
}
|
|
public Task<List<XhsSchemeDto>> GetByIds(List<long> Ids)
|
{
|
return _cal.GetByIds(Ids);
|
}
|
|
public Task<List<XhsSchemeDto>> GetByProjectID(long ProjectID)
|
{
|
return _cal.GetByProjectID(ProjectID);
|
}
|
|
public Task<List<XhsSchemeDto>> GetBySiteID(long SiteID)
|
{
|
return _cal.GetBySiteID(SiteID);
|
}
|
|
public Task<List<XhsSchemeDto>> GetBySiteIds(List<long> SiteIds)
|
{
|
return _cal.GetBySiteIds(SiteIds);
|
}
|
|
public Task<long> Insert(AddXhsSchemeInput model)
|
{
|
return _cal.Insert(model);
|
}
|
|
public Task<bool> Inserts(List<AddXhsSchemeInput> list)
|
{
|
return _cal.Inserts(list);
|
}
|
|
public Task<bool> IsExistByProjectID(long ProjectID)
|
{
|
return _cal.IsExistByProjectID(ProjectID);
|
}
|
|
public Task<bool> IsExistBySiteID(long SiteID)
|
{
|
return _cal.IsExistBySiteID(SiteID);
|
}
|
|
public Task<bool> Update(UpdateXhsSchemeInput model)
|
{
|
return _cal.Update(model);
|
}
|
|
public Task<bool> UpdateFlags(long ID, List<string> Flags)
|
{
|
return _cal.UpdateFlags(ID, Flags);
|
}
|
|
public Task<bool> UpdateParas(long ID, Dictionary<string, string> Paras)
|
{
|
return _cal.UpdateParas(ID, Paras);
|
}
|
|
public Task<bool> Updates(List<UpdateXhsSchemeInput> list)
|
{
|
return _cal.Updates(list);
|
}
|
|
public Task<bool> UpdateSortCode(long ID, int SortCode)
|
{
|
return _cal.UpdateSortCode(ID, SortCode);
|
}
|
|
public Task<bool> UpdateSorter(List<UpdateSortCodeInput> Sorters)
|
{
|
return _cal.UpdateSorter(Sorters);
|
}
|
|
public Task<bool> UpdateUseStatus(long ID, int UseStatus)
|
{
|
return _cal.UpdateUseStatus(ID, UseStatus);
|
}
|
}
|
}
|