wms 消除warning
This commit is contained in:
@@ -253,7 +253,7 @@ namespace Tnb.WarehouseMgr
|
||||
}
|
||||
x.id = SnowflakeIdHelper.NextId();
|
||||
x.bill_id = input.requireId;
|
||||
x.bill_d_id = billDId;
|
||||
x.bill_d_id = billDId!;
|
||||
x.org_id = _userManager.User.OrganizeId;
|
||||
x.create_id = _userManager.UserId;
|
||||
x.create_time = DateTime.Now;
|
||||
@@ -286,7 +286,7 @@ namespace Tnb.WarehouseMgr
|
||||
var carry = await _db.Queryable<WmsCarryH>().SingleAsync(it => it.id == carryId);
|
||||
if (carry != null)
|
||||
{
|
||||
if (carry.location_id.IsNotEmptyOrNull())
|
||||
if (carry!.location_id!.IsNotEmptyOrNull())
|
||||
{
|
||||
await _db.Updateable<BasLocation>().SetColumns(it => new BasLocation { is_use = (int)EnumCarryStatus.空闲 }).Where(it => it.id == carry.location_id).ExecuteCommandAsync();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user