|
@@ -2185,7 +2185,7 @@ namespace wms.service.Service
|
|
|
var warehouse = _basewarehouserepository
|
|
|
.GetList(x =>x.TypeNum == FjLocationType.Storage).Select(x => x.Id).ToList();
|
|
|
//判断平库是否有该物料,如有先取平库料
|
|
|
- var sotck1 = _billInvnowrepository.AsQueryable().With(SqlWith.NoLock).Where(x => x.WarehouseId == 1703346265607246828 && x.MatCode == reqDto.Materialcodecall && x.InvStateCode ==
|
|
|
+ var sotck1 = _billInvnowrepository.AsQueryable().With(SqlWith.NoLock).Where(x => x.WarehouseId == 1703346265607246826 && x.MatCode == reqDto.Materialcodecall && x.InvStateCode ==
|
|
|
InvState.InvEcecState_In.ToString()).First();
|
|
|
if (sotck1 != null && _basewarecellrepository.AsQueryable().With(SqlWith.NoLock).Any(x => x.ContGrpBarCode == sotck1.ContGrpBarCode && x.IsStop == 0 && x.StateNum == FjLocationState.Full))
|
|
|
{
|