using System.Collections.Generic; using System.Data; using Model; namespace BLL { public interface IDALPurchase { bool IsExist(string name, string value); bool Add(Purchase model, List Mats); bool Update(Purchase model, List Mats); bool UpdateAudit(string[] PurchaseNo,string AuditFlag,string User); bool UpdateClose(string[] OrdNo, string AuditStatu); bool BatchDelete(string[] list); Purchase GetModel(string OrdNo); Purchase GetModel(string RoleNum, ref IList erpMats); IList GetList(AjaxPurchaseList Json, ref PageInfo pageInfo); IList GetList(string PurchaseNo); DataTable GetDataTable(string[] strWhere); DataSet GetPrintData(string PurchaseNo); } public interface IDALPurchaseDetail { bool IsExist(string name, string value); bool Add(List model); bool Update(List model); bool Delete(List EMats); IList GetList(string PurchaseNo, ref PageInfo page); IList GetList(SelMatList selMatList, ref PageInfo page); IList GetList(AjaxPurchaseMat PurMat, ref PageInfo page); IList GetList(string OrdNo); DataTable GetDataTable(string[] strWhere); DataTable GetPrintData(string PurchaseNo); } }