wms 消除warning
This commit is contained in:
@@ -143,18 +143,18 @@ namespace Tnb.WarehouseMgr
|
||||
if (isOk)
|
||||
{
|
||||
var preTaskUpInput = new GenPreTaskUpInput();
|
||||
preTaskUpInput.RquireId = input.data["ReturnIdentity"].ToString();
|
||||
preTaskUpInput.RquireId = input.data["ReturnIdentity"].ToString()!;
|
||||
preTaskUpInput.CarryId = carrys![i].id;
|
||||
preTaskUpInput.CarryStartLocationId = points.FirstOrDefault().location_id;
|
||||
preTaskUpInput.CarryStartLocationCode = points.FirstOrDefault().location_code;
|
||||
preTaskUpInput.LocationIds = points.Select(x => x.location_id).ToList();
|
||||
preTaskUpInput.CarryStartLocationId = points!.FirstOrDefault()!.location_id!;
|
||||
preTaskUpInput.CarryStartLocationCode = points!.FirstOrDefault()!.location_code!;
|
||||
preTaskUpInput.LocationIds = points!.Select(x => x.location_id).ToList()!;
|
||||
|
||||
//更新明细表
|
||||
WmsEmptyOutstockD wmsEmptyOutstockD = new();
|
||||
wmsEmptyOutstockD.id = SnowflakeIdHelper.NextId();
|
||||
wmsEmptyOutstockD.bill_id = preTaskUpInput.RquireId;
|
||||
wmsEmptyOutstockD.biz_type = WmsWareHouseConst.BIZTYPE_WMSEPTYOUTSTK_ID;
|
||||
wmsEmptyOutstockD.location_id = ePoint.location_id;
|
||||
wmsEmptyOutstockD.location_id = ePoint.location_id!;
|
||||
wmsEmptyOutstockD.status = WmsWareHouseConst.BILLSTATUS_ON_ID;
|
||||
wmsEmptyOutstockD.carry_id = carrys[i].id;
|
||||
wmsEmptyOutstockD.carry_code = carrys[i].carry_code;
|
||||
|
||||
Reference in New Issue
Block a user