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.

78 lines
2.5 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.Dapper;
using Estsh.Core.IRepositories;
using Estsh.Core.Model.ExcelModel;
using Estsh.Core.Model.Result;
using Estsh.Core.Models;
using Estsh.Core.Repository.IRepositories;
using Estsh.Core.Services.IServices;
using Estsh.Core.Util;
using System.Collections;
/***************************************************************************************************
*
* 更新人sitong.dong
* 描述:打包信息查询
* 修改时间2022.06.22
* 修改日志:系统迭代升级
*
**************************************************************************************************/
namespace Estsh.Core.Services
{
public class ShippingInformationDefineService : BaseService<GMisco>, IShippingInformationDefineService
{
private readonly IShippingInformationDefineRepository repository;
public ShippingInformationDefineService(IShippingInformationDefineRepository _repository) : base(_repository)
{
repository = _repository;
}
/// <summary>
/// 客户产线集合
/// </summary>
/// <returns>数据集</returns>
public List<KeyValueResult> GetCustPDLineName()
{
return repository.GetCustPDLineName();
}
/// <summary>
/// 根据分页条件获取分页菜单数据
/// </summary>
/// <param name="PartMasterName"></param>
/// <param name="pager"></param>
/// <param name="direction"></param>
/// <param name="sort"></param>
/// <returns></returns>
public Hashtable getShippingListByPage(String where, Pager pager)
{
return repository.getShippingListByPage(pager.pageSize, pager.pageNo, where);
}
public Hashtable getShippingListDetailByPage(String where, Pager pager)
{
return repository.getShippingListDetailByPage(pager.pageSize, pager.pageNo, where);
}
/// <summary>
///
/// </summary>
/// <param name="aWhere"></param>
/// <returns></returns>
public List<GMisco> GetCountShipping(string aWhere)
{
return repository.GetCountShipping(aWhere);
}
public List<ShippingInformationDefine> getTableListByPage(string aWhere)
{
return repository.getTableListByPage(aWhere);
}
public List<GMiscoSn> GetCountShippingDetail(string aWhere)
{
return repository.GetCountShippingDetail(aWhere);
}
}
}