fix 字段名称修改
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user