using System.Collections;
using Estsh.Core.Models;
using Estsh.Core.Repository.IRepositories;
using Estsh.Core.Services.IServices;
using Estsh.Core.Model.Result;
/***************************************************************************************************
*
* 更新人:sitong.dong
* 描述:盘点单生产
* 修改时间:2022.06.22
* 修改日志:系统迭代升级
*
**************************************************************************************************/
namespace Estsh.Core.Services
{
///
/// 盘点单生产
///
public class CheckFreezeService : BaseService, ICheckFreezeService
{
private readonly ICheckFreezeRepository repository;
public CheckFreezeService(ICheckFreezeRepository _repository) : base(_repository)
{
repository = _repository;
}
///
/// 根据分页条件获取分页菜单数据
///
///
///
///
///
///
public Hashtable getCheckFreezeListByPage(string cbChkCommand, int userId)
{
Hashtable result = new Hashtable();
result = repository.getListByPage(cbChkCommand, userId);
return result;
}
///
///盘点单集合
///
/// 数据集
public List GetChkCommandList()
{
return repository.GetChkCommandList();
}
///
///冻结
///
/// 数据集
public List Freeze(string cbChkCommand, string userId)
{
return repository.Freeze(cbChkCommand, userId);
}
///
///解冻
///
/// 数据集
public List Thaw(string cbChkCommand, string userId)
{
return repository.Thaw(cbChkCommand, userId);
}
}
}