fix common合并

This commit is contained in:
2024-10-14 14:46:54 +08:00
parent b2a949cf7a
commit be68bd414b
34 changed files with 51 additions and 325 deletions

View File

@@ -0,0 +1,26 @@
using Dlhis.Basic.Common.SysData.Services;
using Kurisu.AspNetCore.DataAccess.SqlSugar.Aop;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Dlhis.Basic.Common.SysData.Controller;
[Authorize]
[Route("api/[controller]")]
[ApiController]
public class SysDataController : ControllerBase
{
private readonly ISysDataService _sysDataService;
public SysDataController(ISysDataService sysDataService)
{
_sysDataService = sysDataService;
}
[IgnoreTenant]
[HttpGet("download")]
public async Task<List<object>> DownloadAsync(string factory, string tableName)
{
return await _sysDataService.DownloadAsync(factory, tableName);
}
}