| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using System.Collections.Generic;
- using System.Threading.Tasks;
- using Abp.Application.Services.Dto;
- using IwbZero.AppServiceBase;
- using WePlatform.WeLib.Knowledge.Plan.Dto;
- namespace WePlatform.WeLib.Knowledge.Plan
- {
- public interface IEmergencyPlanAppService : IIwbZeroAsyncCrudAppService<EmergencyPlanDto, string, IwbPagedRequestDto, EmergencyPlanCreateDto, EmergencyPlanUpdateDto >
- {
- /// <summary>
- /// 获取子预案
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- Task<List<JsTreeDto>> GetChildPlan(EntityDto<string> input);
- /// <summary>
- /// 查下预案内容
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- Task<List<PlanContentDto>> GetPlanContent(QueryContentDto input);
- /// <summary>
- /// 添加(更新)预案内容
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- Task UpdatePlanContent(PlanContentDto input);
- /// <summary>
- /// 删除内容
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- Task DeletePlanContent(EntityDto input);
- /// <summary>
- /// 设为当前使用
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- Task SetUse(EntityDto input);
- #region Get
- Task<EmergencyPlanInfo> GetEntity(EntityDto<string> input);
- Task<EmergencyPlanInfo> GetEntityById(string id);
- Task<EmergencyPlanInfo> GetEntityByNo(string no);
-
- #endregion
- }
- }
|