提交代码
This commit is contained in:
@ -220,7 +220,7 @@ namespace WCS.BLL.Services.Service
|
||||
Message = "success"
|
||||
};
|
||||
}
|
||||
else if (Result != null && Result.Code == 200 && Result.Data == null)
|
||||
else if (Result != null && Result.Code == 200 && (Result.Data == null || Result.Data.Count == 0))
|
||||
{
|
||||
//Mes系统中未获取到物料信息
|
||||
|
||||
@ -295,7 +295,6 @@ namespace WCS.BLL.Services.Service
|
||||
var matInfo = await DbHelp.db.Queryable<MatInfo>().Where(t => t.MatSn == request.MatSn).FirstAsync();
|
||||
if (matInfo != null)
|
||||
{
|
||||
//TODO 改成wcs的实体
|
||||
if (!request.SingleLightIn && shelf != null)
|
||||
shelf.InStoreData = new MatInfoResponse()
|
||||
{
|
||||
@ -391,8 +390,8 @@ namespace WCS.BLL.Services.Service
|
||||
};
|
||||
}
|
||||
|
||||
//TODO 配置这个时间相当于需要入库扫码后需要等待的时间
|
||||
var timeOut = 5000;
|
||||
//配置这个时间相当于需要入库扫码后需要等待的时间
|
||||
var timeOut = LocalFile.Config.InstoreTimeOut;
|
||||
var timeSpan = TimeSpan.FromMilliseconds(0);
|
||||
var beginTime = DateTime.Now;
|
||||
while (timeSpan <= TimeSpan.FromMilliseconds(timeOut))
|
||||
|
Reference in New Issue
Block a user