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.
|
|
|
|
using Estsh.Core.Models;
|
|
|
|
|
using Estsh.Core.Repository.IRepositories;
|
|
|
|
|
using Estsh.Core.Util;
|
|
|
|
|
using Estsh.Core.Services.IServices;
|
|
|
|
|
using Estsh.Core.Model.ExcelModel;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
|
|
|
|
|
/***************************************************************************************************
|
|
|
|
|
*
|
|
|
|
|
* 更新人:sitong.dong
|
|
|
|
|
* 描述:批次追溯查询模块Service层
|
|
|
|
|
* 修改时间:2022.06.22
|
|
|
|
|
* 修改日志:系统迭代升级
|
|
|
|
|
*
|
|
|
|
|
**************************************************************************************************/
|
|
|
|
|
namespace Estsh.Core.Services
|
|
|
|
|
{
|
|
|
|
|
public class LotDefineService : BaseService<GMoveTrans>, ILotDefineService
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
private readonly ILotDefineRepository repository;
|
|
|
|
|
public LotDefineService(ILotDefineRepository _repository) : base(_repository)
|
|
|
|
|
{
|
|
|
|
|
repository = _repository;
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 根据查询条件得出结果集
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="whereStr">条件</param>
|
|
|
|
|
/// <param name="pager">页数</param>
|
|
|
|
|
/// <param name="dt"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public List<GMoveTrans> GetQuery(string whereStr, Pager pager, ref int totalCount)
|
|
|
|
|
{
|
|
|
|
|
return repository.GetQuery(whereStr, pager, ref totalCount);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Hashtable getTableListByPage(string whereStr, Pager pager)
|
|
|
|
|
{
|
|
|
|
|
return repository.getTableListByPage(whereStr, pager);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|