using Hotline.Share.Dtos.Snapshot; using Hotline.Snapshot; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hotline.Application.Snapshot; public interface IIndustryApplication { /// /// 新增行业 /// /// Task AddIndustryAsync(AddIndustryDto dto, CancellationToken cancellationToken); /// /// 获取行业集合 /// /// /// ISugarQueryable GetIndustres(IndustryListInDto dto); /// /// 获取行业详情 /// /// /// Task GetIndustryDetailAsync(string id); /// /// 修改行业 /// /// /// /// Task UpdateIndustryAsync(UpdateIndustryInDto dto, CancellationToken requestAborted); /// /// 行业线索集合 /// /// /// ISugarQueryable GetIndustryCaseItems(IndustryCaseItemInDto dto); /// /// 添加行业线索 /// /// /// Task AddIndustryCaseAsync(AddIndustryCaseDto dto); /// /// 修改行业线索 /// /// /// Task UpdateIndustryCaseAsync(UpdateIndustryCaseDto dto); /// /// 获取行业线索详情 /// /// /// Task GetIndustryCaseAsync(string caseId); /// /// 添加行业模板 /// /// /// Task AddSMSTemplateAsync(AddSnapshotSMSTemplateInDto dto); /// /// 行业模板集合 /// /// /// ISugarQueryable GetSMSTemplates(SnapshotSMSTemplateItemsInDto dto); /// /// 修改行业模板 /// /// /// Task UpdateSMSTemplateAsync(UpdateSnapshotSMSTemplateInDto dto); /// /// 短信详情 /// /// /// Task GetSMSTemplateDetailAsync(string id); /// /// 区域从业人员集合 /// /// /// ISugarQueryable GetPractitionerItemsAsync(PractitionerItemsInDto dto); /// /// 删除区域从业人员 /// /// /// Task DeletePractitionerAsync(IList id); /// /// 修改区域从业人员 /// /// /// Task UpdatePractitionerAsync(UpdatePractitionerInDto dto); /// /// 添加区域从业人员 /// /// /// Task AddPractitionerAsync(AddPractitionerInDto dto); /// /// 区域从业人员详情 /// /// /// Task GetPractitionerAsync(string id); }