fix 字段名称修改

This commit is contained in:
2024-06-26 15:58:59 +08:00
parent d1b7dfae1e
commit 40c6d207ed
4 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,32 @@
using Dlhis.Basic.Organization.Request;
using Dlhis.Basic.Organization.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Dlhis.Basic.Organization.Controllers;
/// <summary>
/// 老系统档案表
/// </summary>
[Authorize]
[Route("api/[controller]")]
[ApiController]
public class OldDeviceGainfosController : ControllerBase
{
private readonly IOldDeviceGainfoService _oldGainfoService;
public OldDeviceGainfosController(IOldDeviceGainfoService oldGainfoService)
{
_oldGainfoService = oldGainfoService;
}
/// <summary>
/// 上传
/// </summary>
/// <param name="requests"></param>
[HttpPost("upload")]
public async Task BatchUploadAsync(List<OldDeviceGainfoUploadRequest> requests)
{
await _oldGainfoService.BatchUploadAsync(requests);
}
}