| | |
| | | }; |
| | | public IRepository<Dt_HKLocationInfo> Repository => BaseDal; |
| | | |
| | | public Dt_HKLocationInfo? GetFreeLocationInfo(string toAreaCode) |
| | | public Dt_HKLocationInfo? GetFreeLocationInfo(string toAreaCode, int containerType) |
| | | { |
| | | Dt_HKLocationInfo hKLocationInfo = BaseDal.QueryFirst(x => x.WarehouseId.ToString() == toAreaCode && x.EnableStatus == EnableStatusEnum.Normal.ObjToInt() && x.LocationStatus == LocationStatusEnum.Free.ObjToInt(), _emptyAssignOrderBy); |
| | | Dt_HKLocationInfo hKLocationInfo = BaseDal.QueryFirst(x => x.WarehouseId.ToString() == toAreaCode && x.EnableStatus == EnableStatusEnum.Normal.ObjToInt() && x.LocationStatus == LocationStatusEnum.Free.ObjToInt() && x.LocationType == containerType, _emptyAssignOrderBy); |
| | | return hKLocationInfo; |
| | | } |
| | | |
| | | } |
| | | } |