mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-30 20:58:01 +08:00
17 lines
474 B
C#
17 lines
474 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace OpenAuth.Domain.Interface
|
|
{
|
|
public interface IStockRepository :IRepository<Stock>
|
|
{
|
|
IEnumerable<Stock> LoadStocks(int pageindex, int pagesize);
|
|
|
|
IEnumerable<Stock> LoadInOrgs(params int[] orgId);
|
|
int GetStockCntInOrgs(params int[] orgIds);
|
|
IEnumerable<Stock> LoadInOrgs(int pageindex, int pagesize, params int[] orgIds);
|
|
|
|
void Delete(int id);
|
|
|
|
}
|
|
} |