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