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); }