逻辑调整
This commit is contained in:
+32
@@ -0,0 +1,32 @@
|
||||
namespace SimpleAdmin.Application;
|
||||
|
||||
/// <summary>
|
||||
/// 入职模板聚合配置服务。
|
||||
/// </summary>
|
||||
public interface IOnboardingTemplateService
|
||||
{
|
||||
/// <summary>
|
||||
/// 分页查询入职模板。
|
||||
/// </summary>
|
||||
Task<SqlSugarPagedList<OnboardingTemplateOutput>> Page(OnboardingTemplatePageInput input);
|
||||
|
||||
/// <summary>
|
||||
/// 查询入职模板详情。
|
||||
/// </summary>
|
||||
Task<OnboardingTemplateDetailOutput> Detail(BaseIdInput input);
|
||||
|
||||
/// <summary>
|
||||
/// 新增或编辑入职模板及全部关联配置。
|
||||
/// </summary>
|
||||
Task<long> Save(OnboardingTemplateSaveInput input);
|
||||
|
||||
/// <summary>
|
||||
/// 删除未被任务使用的入职模板。
|
||||
/// </summary>
|
||||
Task Delete(BaseIdListInput input);
|
||||
|
||||
/// <summary>
|
||||
/// 查询公司岗位可使用的入职模板。
|
||||
/// </summary>
|
||||
Task<List<OnboardingTemplateOutput>> ListEnabled(long companyId, long positionId);
|
||||
}
|
||||
Reference in New Issue
Block a user