|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | namespace WIDESEA_BasicRepository | 
|---|
|  |  |  | { | 
|---|
|  |  |  | /// <summary> | 
|---|
|  |  |  | /// ä»åºä¿¡æ¯å®ç°å± | 
|---|
|  |  |  | /// </summary> | 
|---|
|  |  |  | public class WarehouseRepository : RepositoryBase<Dt_Warehouse>, IWarehouseRepository | 
|---|
|  |  |  | { | 
|---|
|  |  |  | public WarehouseRepository(IUnitOfWorkManage unitOfWorkManage) : base(unitOfWorkManage) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public List<int> EnableWarehouseIds => QueryData(x => x.Id, x => x.WarehouseStatus == EnableEnum.Enable.ObjToInt()).Distinct().ToList(); | 
|---|
|  |  |  | public List<int> EnableWarehouseIds => QueryData(x => x.WarehouseId, x => x.WarehouseStatus == EnableEnum.Enable.ObjToInt()).Distinct().ToList(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|