feat 设备连接注册,sap人事范围,部门
This commit is contained in:
26
Src/Dlhis.Basic/Organization/Controllers/WerksController.cs
Normal file
26
Src/Dlhis.Basic/Organization/Controllers/WerksController.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user