|
|
using Estsh.Core.Models;
|
|
|
using Estsh.Core.Repository.IRepositories;
|
|
|
using Estsh.Core.Util;
|
|
|
using Estsh.Core.Services.IServices;
|
|
|
using Estsh.Core.Model.Result;
|
|
|
using Estsh.Core.Model.ExcelModel;
|
|
|
|
|
|
/***************************************************************************************************
|
|
|
*
|
|
|
* 更新人:sitong.dong
|
|
|
* 描述:成品异常领用查询
|
|
|
* 修改时间:2022.06.22
|
|
|
* 修改日志:系统迭代升级
|
|
|
*
|
|
|
**************************************************************************************************/
|
|
|
namespace Estsh.Core.Services
|
|
|
{
|
|
|
public class ProductAbnormalConsumeService : BaseService<GSnStatus>, IProductAbnormalConsumeService
|
|
|
{
|
|
|
private readonly IProductAbnormalConsumeRepository repository;
|
|
|
|
|
|
public ProductAbnormalConsumeService(IProductAbnormalConsumeRepository _repository) : base(_repository)
|
|
|
{
|
|
|
repository = _repository;
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 查询不是库存的信息
|
|
|
/// </summary>
|
|
|
/// <param name="aWhere"></param>
|
|
|
/// <returns></returns>
|
|
|
public List<GSnStatus> GetDetailData(string aWhere, Pager pager, ref int totalCount)
|
|
|
{
|
|
|
return repository.GetDetailData(aWhere, pager, ref totalCount);
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
/// 配置集合
|
|
|
/// </summary>
|
|
|
/// <returns>数据集</returns>
|
|
|
public List<KeyValueResult> GetModelName(string typeName)
|
|
|
{
|
|
|
return repository.GetModelName(typeName);
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
///车型集合
|
|
|
/// </summary>
|
|
|
/// <returns>数据集</returns>
|
|
|
public List<KeyValueResult> GetTypeName()
|
|
|
{
|
|
|
return repository.GetTypeName();
|
|
|
}
|
|
|
|
|
|
public List<ProductAbnormalConsume> getTableListByPage(string aWhere, Pager pager, ref int totalCount)
|
|
|
{
|
|
|
return repository.getTableListByPage(aWhere, pager, ref totalCount);
|
|
|
}
|
|
|
}
|
|
|
}
|