feat 设备连接注册,sap人事范围,部门

This commit is contained in:
2023-12-28 16:04:00 +08:00
parent 25f7b3270c
commit d7cf07d940
48 changed files with 633 additions and 65 deletions

View File

@@ -0,0 +1,26 @@
using Dlhis.Basic.Organization.Response;
using Dlhis.Basic.Organization.Services;
using Microsoft.AspNetCore.Mvc;
namespace Dlhis.Basic.Organization.Controllers;
/// <summary>
/// 人事范围
/// </summary>
[Route("api/[controller]")]
[ApiController]
public class WerksController : ControllerBase
{
private readonly IWerkService _werkService;
public WerksController(IWerkService werkService)
{
_werkService = werkService;
}
[HttpGet("list")]
public async Task<List<WerkResponse>> GetListAsync()
{
return await _werkService.GetListAsync();
}
}