You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.3 KiB
C#

using DS.Module.Core;
using DS.WMS.Core.ContractModule.Dtos;
using DS.WMS.Core.ContractModule.Entity;
namespace DS.WMS.Core.ContractModule.Interface;
public interface IContractService
{
/// <summary>
/// 列表查询
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
DataResult<List<ContractListPageModel>> GetListByPage(PageRequest request);
/// <summary>
/// 获取信息
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<ContractViewModel> GetContractInfo(string id);
/// <summary>
/// 编辑信息
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
DataResult EditContract(ContractInput model);
/// <summary>
/// 获取未处理合同报警数
/// </summary>
/// <returns></returns>
public DataResult<int> GetContractWarningCount();
/// <summary>
/// 获取预警明细
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
public DataResult<List<AlarmDetailViewModel>> GetContractAlarmDetail(PageRequest request);
public DataResult SaveAlarmDetail(AlarmDetailEditInput model);
public DataResult DelAlarmDetail(string id);
public DataResult EnableAlarmDetail(string id);
public DataResult DisableAlarmDetail(string id);
}