|
|
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);
|
|
|
}
|
|
|
}
|
|
|
}
|