逻辑调整
This commit is contained in:
+2
-56
@@ -1,7 +1,7 @@
|
||||
namespace SimpleAdmin.Web.Core;
|
||||
|
||||
/// <summary>
|
||||
/// 提供入职字段与材料要求配置相关 HTTP 接口。
|
||||
/// 提供员工动态补充字段与上传材料类型配置接口。
|
||||
/// </summary>
|
||||
[ApiDescriptionSettings("Application", Tag = "入职填写与材料配置")]
|
||||
[Route("biz/onboarding/entry-config")]
|
||||
@@ -68,58 +68,4 @@ public class OnboardingEntryConfigController
|
||||
{
|
||||
await _service.DeleteMaterialTypes(input);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询公司岗位动态字段要求。
|
||||
/// </summary>
|
||||
[HttpGet("form-requirement/list")]
|
||||
public async Task<dynamic> ListFormRequirements([FromQuery] long companyId)
|
||||
{
|
||||
return await _service.ListFormRequirements(companyId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 保存公司岗位动态字段要求。
|
||||
/// </summary>
|
||||
[HttpPost("form-requirement/save")]
|
||||
public async Task SaveFormRequirement([FromBody] OnboardingFormRequirementSaveInput input)
|
||||
{
|
||||
await _service.SaveFormRequirement(input);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除动态字段要求。
|
||||
/// </summary>
|
||||
[HttpPost("form-requirement/delete")]
|
||||
public async Task DeleteFormRequirements([FromBody] BaseIdListInput input)
|
||||
{
|
||||
await _service.DeleteFormRequirements(input);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询公司岗位材料要求。
|
||||
/// </summary>
|
||||
[HttpGet("material-requirement/list")]
|
||||
public async Task<dynamic> ListMaterialRequirements([FromQuery] long companyId)
|
||||
{
|
||||
return await _service.ListMaterialRequirements(companyId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 保存公司岗位材料要求。
|
||||
/// </summary>
|
||||
[HttpPost("material-requirement/save")]
|
||||
public async Task SaveMaterialRequirement([FromBody] OnboardingMaterialRequirementSaveInput input)
|
||||
{
|
||||
await _service.SaveMaterialRequirement(input);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除材料要求。
|
||||
/// </summary>
|
||||
[HttpPost("material-requirement/delete")]
|
||||
public async Task DeleteMaterialRequirements([FromBody] BaseIdListInput input)
|
||||
{
|
||||
await _service.DeleteMaterialRequirements(input);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user