feat 获取设备上传的时间
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
using Dlhis.ScheduledTask.DeviceUploadLog.Request;
|
||||
using Dlhis.ScheduledTask.DeviceUploadLog.Response;
|
||||
using Dlhis.ScheduledTask.DeviceUploadLog.Services;
|
||||
using Kurisu.AspNetCore.CustomClass;
|
||||
using Kurisu.AspNetCore.DataAccess.Dto;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar.Aop;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Org.BouncyCastle.Asn1.Crmf;
|
||||
|
||||
namespace Dlhis.ScheduledTask.DeviceUploadLog.Controllers;
|
||||
|
||||
@@ -67,4 +67,15 @@ public class DeviceUploadLogsController : ControllerBase
|
||||
{
|
||||
await _deviceUploadLogService.QiaoqiaoGaoshiqingAsync(request);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取设备记录读取的配置
|
||||
/// </summary>
|
||||
/// <param name="deviceNo"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("setting")]
|
||||
public async Task<DateTimePeriod> GetDeviceUploadRecordSettingAsync(string deviceNo)
|
||||
{
|
||||
return await _deviceUploadLogService.GetDeviceUploadRecordSettingAsync(deviceNo);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user