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.

62 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 System.Collections;
using Estsh.Core.Models;
using Estsh.Core.Repository.IRepositories;
using Estsh.Core.Services.IServices;
using Estsh.Core.Model.Result;
/***************************************************************************************************
*
* 更新人sitong.dong
* 描述:盘点单生产
* 修改时间2022.06.22
* 修改日志:系统迭代升级
*
**************************************************************************************************/
namespace Estsh.Core.Services
{
/// <summary>
/// 盘点单生产
/// </summary>
public class CheckOrderCreateService : BaseService<GCheckOrderMain>, ICheckOrderCreateService
{
private readonly ICheckOrderCreateRepository repository;
public CheckOrderCreateService(ICheckOrderCreateRepository _repository) : base(_repository)
{
repository = _repository;
}
/// <summary>
/// 根据分页条件获取分页菜单数据
/// </summary>
/// <param name="CheckOrderCreateName"></param>
/// <param name="pager"></param>
/// <param name="direction"></param>
/// <param name="sort"></param>
/// <returns></returns>
public Hashtable getCheckOrderCreateListByPage(string cbChkCommand)
{
Hashtable result = new Hashtable();
result = repository.getListByPage(cbChkCommand);
return result;
}
/// <summary>
///盘点单集合
/// </summary>
/// <returns>数据集</returns>
public List<KeyValueResult> GetChkCommandList()
{
return repository.GetChkCommandList();
}
/// <summary>
///盘点单生成
/// </summary>
/// <returns>数据集</returns>
public List<dynamic> CreateChkNo(string cbChkCommand, string userId)
{
return repository.CreateChkNo(cbChkCommand, userId);
}
}
}