放货确认,电梯关门逻辑代码调整

This commit is contained in:
yang.lee
2023-10-31 17:49:28 +08:00
parent 77a07b5a3a
commit 02e4dbb45a
5 changed files with 15 additions and 19 deletions

View File

@@ -11,7 +11,7 @@ using Tnb.WarehouseMgr.Entities;
namespace Tnb.WarehouseMgr
{
public class BaseWareHouseService<T> : BaseWareHouseService
public class BaseWareHouseService<T> : BaseWareHouseService
{
protected static Dictionary<string, object> _elevatorMap = new Dictionary<string, object>();
@@ -21,7 +21,7 @@ namespace Tnb.WarehouseMgr
{
Task.Run(async () =>
{
_elevatorMap = await db.Queryable<WmsElevatorH>().ToDictionaryAsync(x =>x.elevator_id,x=>x.elevator_code);
_elevatorMap = await db.Queryable<WmsElevatorH>().ToDictionaryAsync(x => x.elevator_id, x => x.elevator_code);
});
}
}