米其林项目Giraf的新接口,采用WebAPI形式,会应用在上海玉兰及波兰米其林项目中
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
999 B

using WMS_GIRAF_Interface.Data;
using WMS_GIRAF_Interface.Models;
using WMS_GIRAF_Interface.Repositories.Interface;
namespace WMS_GIRAF_Interface.TaskServices;
public class ManageTaskService(MichelinDbContext context,IManageMainRepository mangeMainRepository)
{
private readonly MichelinDbContext _context = context;
private readonly IManageMainRepository _mangeMainRepository = mangeMainRepository;
/// <summary>
/// 生成入库到line任务逻辑
/// </summary>
/// <param name="inputRequest"></param>
public bool CreateInputTaskFromGiraf( InputRequest.Product inputRequest,bool trans,bool IssendControl ,out string sResult)
{
bool bResult = true;
sResult = string.Empty;
//判断当前胎号是否有任务
var manageMain = _mangeMainRepository.GetManageMain("barcode", inputRequest.identifier);
if (manageMain!=null)
{
}
else
{
}
return bResult;
}
}