更改location的is_use字段为string

This commit is contained in:
FanLian
2023-07-04 11:03:28 +08:00
parent a4298ca2d9
commit ff66b1fa04
7 changed files with 10 additions and 10 deletions

View File

@@ -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;