1
hutongqing
2024-09-13 ea9bdf217e8202a5fa475262dba1792decb05bcb
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/OutStockLockInfoService.cs
@@ -13,6 +13,8 @@
{
    public class OutStockLockInfoService : ServiceBase<Dt_OutStockLockInfo, IOutStockLockInfoRepository>, IOutStockLockInfoService
    {
        public IOutStockLockInfoRepository Repository => BaseDal;
        public OutStockLockInfoService(IOutStockLockInfoRepository BaseDal) : base(BaseDal)
        {
        }
@@ -44,10 +46,14 @@
            return outStockLockInfos;
        }
        public List<Dt_OutStockLockInfo> GetByOrderDetailId(int orderDetailId)
        {
            return BaseDal.QueryData(x => x.OrderDetailId == orderDetailId);
        }
        public List<Dt_OutStockLockInfo> GetByOrderDetailId(int orderDetailId, OutStockStatus outStockStatus)
        {
            return BaseDal.QueryData(x => x.OrderDetailId == orderDetailId && x.Status == outStockStatus.ObjToInt());
        }
    }
}