fix 人员同步,下发任务创建
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Dlhis.ScheduledTask.DeviceUploadLog.Request;
|
||||
using Dlhis.Basic.Api;
|
||||
using Dlhis.ScheduledTask.DeviceUploadLog.Request;
|
||||
using Dlhis.ScheduledTask.DeviceUploadLog.Response;
|
||||
using Dlhis.ScheduledTask.DeviceUploadLog.Services;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar.Aop;
|
||||
@@ -17,10 +18,12 @@ namespace Dlhis.ScheduledTask.DeviceUploadLog.Controllers;
|
||||
public class DeviceUploadLogsController : ControllerBase
|
||||
{
|
||||
private readonly IDeviceUploadLogService _deviceUploadLogService;
|
||||
private readonly IDevicePermissionApi _devicePermissionApi;
|
||||
|
||||
public DeviceUploadLogsController(IDeviceUploadLogService deviceUploadLogService)
|
||||
public DeviceUploadLogsController(IDeviceUploadLogService deviceUploadLogService, IDevicePermissionApi devicePermissionApi)
|
||||
{
|
||||
_deviceUploadLogService = deviceUploadLogService;
|
||||
_devicePermissionApi = devicePermissionApi;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -57,4 +60,15 @@ public class DeviceUploadLogsController : ControllerBase
|
||||
{
|
||||
await _deviceUploadLogService.SetUploadLogsBeginDateTimeAsync(requests);
|
||||
}
|
||||
|
||||
//[HttpPost("try")]
|
||||
//public async Task<int> Test()
|
||||
//{
|
||||
// var dtoResult = await _devicePermissionApi.GetPermissionUsersInfoAsync();
|
||||
// var dto = dtoResult.Data;
|
||||
// var rResult = await _devicePermissionApi.RePermissionUsersInfoAsync(dto);
|
||||
// var r = rResult.Data;
|
||||
|
||||
// return r;
|
||||
//}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user