You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
namespace Tiobon.Core.Controllers;
|
|
|
|
/// <summary>
|
|
/// 公共服务
|
|
/// </summary>
|
|
[Produces("application/json")]
|
|
[Route("api/Report")]
|
|
[Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_System)]
|
|
public class ReportController : BaseApiController
|
|
{
|
|
private readonly ILogger<CommonController> _logger;
|
|
private readonly IReportServices _services;
|
|
|
|
/// <summary>
|
|
/// 构造函数
|
|
/// </summary>
|
|
/// <param name="logger"></param>
|
|
/// <param name="services"></param>
|
|
public ReportController(ILogger<CommonController> logger, IReportServices services)
|
|
{
|
|
_services = services;
|
|
_logger = logger;
|
|
}
|
|
|
|
#region 获取新入职人员列表
|
|
/// <summary>
|
|
/// 获取新入职人员列表
|
|
/// </summary>
|
|
/// <param name="filter"></param>
|
|
/// <param name="condition"></param>
|
|
/// <returns></returns>
|
|
[HttpPost, Route("QueryNewStaff")]
|
|
public async Task<ServicePageResult<Ghra_StaffDto>> QueryNewStaffAsync([FromBody] QueryBody filter, string condition)=> await _services.QueryNewStaffAsync(filter, condition, true);
|
|
#endregion
|
|
} |