| | |
| | | public async Task<List<Dt_OutStockLockInfo>> GetByOrderDetailId(int orderDetailId) |
| | | { |
| | | return await Db.Queryable<Dt_OutStockLockInfo>() |
| | | .Where(x => x.OrderDetailId == orderDetailId) |
| | | .Where(x => x.OrderDetailIds.Contains(orderDetailId.ToString())) |
| | | .OrderBy(x => x.Id) |
| | | .ToListAsync(); |
| | | } |
| | |
| | | |
| | | public List<Dt_OutStockLockInfo> GetByOrderDetailId(int orderDetailId, OutLockStockStatusEnum? outStockStatus) |
| | | { |
| | | return BaseDal.QueryData(x => x.OrderDetailId == orderDetailId ); |
| | | return BaseDal.QueryData(x => x.OrderDetailIds.Contains(orderDetailId.ToString())); |
| | | } |
| | | |
| | | } |