using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEA_Core;
|
using WIDESEA_Core.BaseServices;
|
using WIDESEA_IBasicRepository;
|
using WIDESEA_Model.Models;
|
|
namespace WIDESEA_IBasicService
|
{
|
public interface IWarehouseService : IService<Dt_Warehouse>
|
{
|
IWarehouseRepository Repository { get; }
|
|
/// <summary>
|
/// 批量启用仓库
|
/// </summary>
|
/// <param name="keys">仓库主键数组</param>
|
/// <returns></returns>
|
WebResponseContent WarehouseEnableStatus(int[] keys);
|
|
/// <summary>
|
/// 批量禁用仓库
|
/// </summary>
|
/// <param name="keys">仓库主键数组</param>
|
/// <returns></returns>
|
WebResponseContent WarehouseDisableStatus(int[] keys);
|
|
/// <summary>
|
/// 单个启用仓库
|
/// </summary>
|
/// <param name="key">仓库主键</param>
|
/// <returns></returns>
|
WebResponseContent WarehouseEnableStatus(int key);
|
|
/// <summary>
|
/// 单个禁用仓库
|
/// </summary>
|
/// <param name="key">仓库主键</param>
|
/// <returns></returns>
|
WebResponseContent WarehouseDisableStatus(int key);
|
|
/// <summary>
|
///
|
/// </summary>
|
/// <returns></returns>
|
WebResponseContent GetWarehouseDicByUser();
|
}
|
}
|