22 lines
643 B
C#
22 lines
643 B
C#
using Dlhis.ScheduledTask.Common.Response;
|
|
|
|
namespace Dlhis.ScheduledTask.Common.Services;
|
|
|
|
public interface IJinkoSapService : IScopeDependency
|
|
{
|
|
Task<SapOrganizationResponse> GetSapOrganizationsAsync();
|
|
|
|
Task<SapPositionResponse> GetPositionsAsync();
|
|
|
|
Task<SapPersonResponse> GetPersonsByWerkAsync(string werk);
|
|
|
|
Task<SapPersonResponse> GetPersonsByCodeAsync(string code);
|
|
|
|
/// <summary>
|
|
/// 获取出差信息
|
|
/// </summary>
|
|
/// <param name="begin"></param>
|
|
/// <param name="end"></param>
|
|
/// <returns></returns>
|
|
Task<SapTravelInfoResponse> GetTravelInfosAsync(DateTime begin, DateTime end);
|
|
} |