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.6 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.Model.ExcelModel;
using Estsh.Core.Models;
using Estsh.Core.Repository.IRepositories;
using Estsh.Core.Services.IServices;
using Estsh.Core.Util;
/***************************************************************************************************
*
* 更新人sitong.dong
* 描述:成品异常领用
* 修改时间2022.06.22
* 修改日志:系统迭代升级
*
**************************************************************************************************/
namespace Estsh.Core.Services
{
public class ProdunctFinishedService : BaseService<GSnMisc>, IProdunctFinishedService
{
private readonly IProdunctFinishedRepository repository;
public ProdunctFinishedService(IProdunctFinishedRepository _repository) : base(_repository)
{
repository = _repository;
}
public bool IsCartonNoExists(string carton_no)
{
return repository.IsCartonNoExists(carton_no);
}
public string ProductShipping(string serial_number, string remark, string finished, int UserID, string doorNO, string reason)
{
return repository.ProductShipping(serial_number,remark,finished,UserID,doorNO,reason);
}
public List<GSnMisc> GetAll(string aWhere, Pager pager, ref int totalCount)
{
return repository.GetAll(aWhere, pager, ref totalCount);
}
public List<ProdunctFinished> getTableListByPage(string aWhere, Pager pager, ref int totalCount)
{
return repository.getTableListByPage(aWhere, pager, ref totalCount);
}
}
}