using Admin.NET.Plugin.AiDOP.Entity.DataPlatform;
namespace Admin.NET.Plugin.AiDOP.DataPlatform.HotWatch;
/// 热回读联调:手工登记 / 立即轮询。
[ApiDescriptionSettings(Order = 329, Description = "MDP 热回读运维")]
[Route("api/aidop/mdp-hot-watch")]
[AllowAnonymous]
[NonUnify]
public class MdpHotWatchAdminService : IDynamicApiController, ITransient
{
private readonly MdpHotWatchService _hotWatch;
private readonly ISqlSugarClient _db;
public MdpHotWatchAdminService(MdpHotWatchService hotWatch, ISqlSugarClient db)
{
_hotWatch = hotWatch;
_db = db;
}
public sealed class EnrollWorkOrderInput
{
public string WorkOrd { get; set; } = "";
public string? Domain { get; set; }
public long TenantId { get; set; }
}
[DisplayName("登记工单热回读")]
[HttpPost("enroll-work-order")]
public async Task