feat 例外人员权限增加到期时间,厂区配置增加生日券,外包自动离场报名单
This commit is contained in:
@@ -9,22 +9,43 @@ namespace Dlhis.Basic.Api;
|
||||
[EnableRemoteClient(Name = "longRun-service", BaseUrl = "${InternalRequest:BasicRequestUrl}", PolicyHandler = typeof(LongRunClientHandler))]
|
||||
public interface ISyncApi
|
||||
{
|
||||
/// <summary>
|
||||
/// 根据人事范围获取员工信息
|
||||
/// </summary>
|
||||
/// <param name="code"></param>
|
||||
/// <returns></returns>
|
||||
[Post("/api/sync/gainfo/werk")]
|
||||
[RequestContentHandler(typeof(CodeContentHandler))]
|
||||
Task SyncGainfoByWerkAsync(string code);
|
||||
|
||||
/// <summary>
|
||||
/// 根据工号获取员工信息
|
||||
/// </summary>
|
||||
/// <param name="code"></param>
|
||||
/// <returns></returns>
|
||||
[Post("/api/sync/gainfo/user")]
|
||||
[RequestContentHandler(typeof(CodeContentHandler))]
|
||||
Task SyncGainfoByUserCodeAsync(string code);
|
||||
|
||||
/// <summary>
|
||||
/// 获取组织架构数据
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[Get("/api/sync/orgs")]
|
||||
Task<SapOrganizationResponse> SyncOrganizationsAsync();
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取职位数据
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[Get("/api/sync/positions")]
|
||||
Task<SapPositionResponse> GetPositionsAsync();
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 差旅数据处理
|
||||
/// </summary>
|
||||
/// <param name="code"></param>
|
||||
/// <returns></returns>
|
||||
[Post("/api/sync/businessTrips")]
|
||||
[RequestContentHandler(typeof(CodeContentHandler))]
|
||||
Task HandlerBusinessTripsAsync(string code);
|
||||
|
||||
Reference in New Issue
Block a user