using WmsMobileServe.Annotation; using WmsMobileServe.DataBase.Base.Po; namespace WmsMobileServe.DataBase.Base.Dao; /// /// 入库单操作 /// [Component] public class TRKWareNOticeTabDao(DataBaseClient client) { public List? SelectWithOrderIdAndGoodsId(string? orderId, string? goodsId) { try { var sqlFuc = client.Instance().Queryable() .Where(w => w.PurchaseId == orderId && w.GoodsId == goodsId) .OrderBy(o => o.PoLineId); return sqlFuc.ToList(); } catch (Exception ex) { _ = ex; return default; } } }