You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.9 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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);
}
}
}