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.

62 lines
2.1 KiB
C#

using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.Module.DjyServiceStatus
{
public interface IDjyServiceStatusService
{
/// <summary>
/// 保存服务项目
/// </summary>
/// <param name="req">修改服务项目详情</param>
/// <returns>返回回执</returns>
Task<DjyResult> SaveServiceProject(EmbedServiceProjectDto req);
/// <summary>
/// 取消服务项目
/// </summary>
/// <param name="req">修改服务项目详情</param>
/// <returns>返回回执</returns>
Task<DjyResult> CancelServiceProject(EmbedServiceProjectDto req);
/// <summary>
/// 获取服务项目列表
/// </summary>
/// <param name="req">获取服务项目列表</param>
/// <returns>返回回执</returns>
Task<DjyResult> GetServiceProjectList(EmbedQueryServiceProjectWithStatus req);
/// <summary>
/// 获取服务项目下的状态列表
/// </summary>
/// <param name="req">获取服务项目下的状态列表</param>
/// <returns>返回回执</returns>
Task<DjyResult> GetServiceStatusList(EmbedQueryServiceProjectWithStatus req);
/// <summary>
/// 保存服务状态
/// </summary>
/// <param name="req">保存服务状态</param>
/// <returns>返回回执</returns>
Task<DjyResult> SaveServiceStatus(EmbedServiceProjectStatusDto req);
/// <summary>
/// 取消服务状态
/// </summary>
/// <param name="req">取消服务状态</param>
/// <returns>返回回执</returns>
Task<DjyResult> CancelServiceStatus(EmbedServiceProjectStatusDto req);
/// <summary>
/// 获取可用的服务项目字典列表
/// </summary>
/// <param name="isAvoidCache">是否重新加载缓存</param>
/// <returns></returns>
Task<DjyResult> GetEnableProjectDictTreeList(bool isAvoidCache = false);
}
}