更改location的is_use字段为string
This commit is contained in:
@@ -71,7 +71,7 @@ namespace Tnb.WarehouseMgr
|
||||
if (carry!.location_id!.IsNotEmptyOrNull())
|
||||
{
|
||||
var loc = await _db.Queryable<BasLocation>().SingleAsync(it => it.id == carry.location_id);
|
||||
loc.is_use = (int)EnumCarryStatus.空闲;
|
||||
loc.is_use = ((int)EnumCarryStatus.空闲).ToString();
|
||||
await _db.Updateable(loc).UpdateColumns(it => it.is_use).ExecuteCommandAsync();
|
||||
}
|
||||
carry.location_id = null;
|
||||
|
||||
Reference in New Issue
Block a user