Change campaign type

This commit is contained in:
2025-11-16 11:09:42 +09:00
parent dd14fceaf4
commit 00fbba1401
5 changed files with 11 additions and 5 deletions

View File

@ -14,7 +14,7 @@ namespace Hcs.WebApp.BackgroundServices.CampaignManagers
{
Campaign.CampaignType.ExportPrivateRegistryElements_15_7_0_1 => new ExportPrivateRegistryElementsManager_15_7_0_1(serviceScopeFactory, operationExecutionState, resultWaitState, campaign),
Campaign.CampaignType.ExportCommonRegistryElements_15_7_0_1 => new ExportCommonRegistryElementsManager_15_7_0_1(serviceScopeFactory, operationExecutionState, resultWaitState, campaign),
Campaign.CampaignType.ExportHousesData_15_7_0_1 => new ExportHousesDataManager_15_7_0_1(serviceScopeFactory, operationExecutionState, resultWaitState, campaign)
Campaign.CampaignType.ParseHousesData_15_7_0_1 => new ParseHousesDataManager_15_7_0_1(serviceScopeFactory, operationExecutionState, resultWaitState, campaign)
};
}
}

View File

@ -2,7 +2,7 @@
namespace Hcs.WebApp.BackgroundServices.CampaignManagers
{
public class ExportHousesDataManager_15_7_0_1(
public class ParseHousesDataManager_15_7_0_1(
IServiceScopeFactory scopeFactory,
OperationExecutionState operationExecutionState,
ResultWaitState resultWaitState,

View File

@ -0,0 +1,6 @@
namespace Hcs.WebApp.BackgroundServices.DataParsers
{
public class IDataParser
{
}
}

View File

@ -61,7 +61,7 @@
</AuthorizedContent>
@code {
protected override Campaign.CampaignType CampaignType => Campaign.CampaignType.ExportHousesData_15_7_0_1;
protected override Campaign.CampaignType CampaignType => Campaign.CampaignType.ParseHousesData_15_7_0_1;
protected override bool HasPermission(ClaimsPrincipal user)
{

View File

@ -13,8 +13,8 @@ namespace Hcs.WebApp.Data.Hcs
[Display(Description = "Экспорт частных справочников")]
ExportPrivateRegistryElements_15_7_0_1,
[Display(Description = "Экспорт данных домов")]
ExportHousesData_15_7_0_1
[Display(Description = "Парсинг данных домов")]
ParseHousesData_15_7_0_1
}
public int Id { get; set; }