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.

43 lines
1.4 KiB
C#

2 years ago
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);
}
}
}