2016-09-02 18:05:17 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2016-01-07 11:47:43 +08:00
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
|
|
namespace OpenAuth.Domain.Interface
|
|
|
|
|
{
|
|
|
|
|
public interface IStockRepository :IRepository<Stock>
|
|
|
|
|
{
|
|
|
|
|
IEnumerable<Stock> LoadStocks(int pageindex, int pagesize);
|
|
|
|
|
|
2017-10-11 16:19:34 +08:00
|
|
|
|
IEnumerable<Stock> LoadInOrgs(params string[] orgId);
|
|
|
|
|
int GetStockCntInOrgs(params string[] orgIds);
|
|
|
|
|
IEnumerable<Stock> LoadInOrgs(int pageindex, int pagesize, params string[] orgIds);
|
2016-01-07 11:47:43 +08:00
|
|
|
|
|
2017-10-11 16:19:34 +08:00
|
|
|
|
void Delete(string id);
|
2016-01-07 11:47:43 +08:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|