代码优化
This commit is contained in:
+10
-1
@@ -55,6 +55,15 @@ public class OnboardingContractTemplateController
|
||||
return await _service.Detail(input);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询入职模板当前公司、部门及岗位可选择的合同模板。
|
||||
/// </summary>
|
||||
[HttpPost("list-available")]
|
||||
public async Task<dynamic> ListAvailable([FromBody] OnboardingContractTemplateAvailableInput input)
|
||||
{
|
||||
return await _service.ListAvailable(input);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 新增合同模板。
|
||||
/// </summary>
|
||||
@@ -135,4 +144,4 @@ public class OnboardingContractTemplateController
|
||||
{
|
||||
await _service.EditVariable(input);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user