bklLiudl
2024-07-23 675b8bcc4a3630d95e3d0b97d933e63442075ecb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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<PurchaseMat> Mats);
        bool Update(Purchase model, List<PurchaseMat> 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<PurchaseMat> erpMats);
        IList<Purchase> GetList(AjaxPurchaseList Json, ref PageInfo pageInfo);
        IList<Purchase> GetList(string PurchaseNo);
 
        DataTable GetDataTable(string[] strWhere);
        DataSet GetPrintData(string PurchaseNo);
 
 
    }
 
    public interface IDALPurchaseDetail
    {
        bool IsExist(string name, string value);
        bool Add(List<PurchaseMat> model);
        bool Update(List<PurchaseMat> model);
        bool Delete(List<PurchaseMat> EMats);
        IList<PurchaseMat> GetList(string PurchaseNo, ref PageInfo page);
        IList<SelMatList> GetList(SelMatList selMatList, ref PageInfo page);
        IList<PurchaseMat> GetList(AjaxPurchaseMat PurMat, ref PageInfo page);
        IList<PurchaseMat> GetList(string OrdNo);
        DataTable GetDataTable(string[] strWhere);
 
        DataTable GetPrintData(string PurchaseNo);
    }
}