Browse Source
# Conflicts: # src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccountApplicationAutoMapperProfile.csFoShanPG
44673626
2 years ago
19 changed files with 839 additions and 21154 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
File diff suppressed because it is too large
@ -1,545 +0,0 @@ |
|||
2022-03-09 11:10:47.427 G Starting web host. |
|||
2022-03-09 11:11:02.590 G User profile is available. Using '"C:\Users\Administrator\AppData\Local\ASP.NET\DataProtection-Keys"' as key repository and Windows DPAPI to encrypt keys at rest. |
|||
2022-03-09 11:11:02.710 G Loaded ABP modules: |
|||
2022-03-09 11:11:02.712 G - Win.Sfs.SettleAccount.SettleAccountHttpApiHostModule |
|||
2022-03-09 11:11:02.713 G - Win.Sfs.SettleAccount.SettleAccountApplicationModule |
|||
2022-03-09 11:11:02.713 G - Win.Sfs.SettleAccount.SettleAccountJobModule |
|||
2022-03-09 11:11:02.714 G - Win.Sfs.SettleAccount.SettleAccountDomainModule |
|||
2022-03-09 11:11:02.715 G - Volo.Abp.Domain.AbpDddDomainModule |
|||
2022-03-09 11:11:02.716 G - Volo.Abp.Auditing.AbpAuditingModule |
|||
2022-03-09 11:11:02.716 G - Volo.Abp.Data.AbpDataModule |
|||
2022-03-09 11:11:02.717 G - Volo.Abp.ObjectExtending.AbpObjectExtendingModule |
|||
2022-03-09 11:11:02.718 G - Volo.Abp.Localization.AbpLocalizationAbstractionsModule |
|||
2022-03-09 11:11:02.719 G - Volo.Abp.Validation.AbpValidationAbstractionsModule |
|||
2022-03-09 11:11:02.720 G - Volo.Abp.Uow.AbpUnitOfWorkModule |
|||
2022-03-09 11:11:02.720 G - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule |
|||
2022-03-09 11:11:02.721 G - Volo.Abp.Json.AbpJsonModule |
|||
2022-03-09 11:11:02.721 G - Volo.Abp.Timing.AbpTimingModule |
|||
2022-03-09 11:11:02.722 G - Volo.Abp.Localization.AbpLocalizationModule |
|||
2022-03-09 11:11:02.722 G - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule |
|||
2022-03-09 11:11:02.723 G - Volo.Abp.Settings.AbpSettingsModule |
|||
2022-03-09 11:11:02.723 G - Volo.Abp.Security.AbpSecurityModule |
|||
2022-03-09 11:11:02.725 G - Volo.Abp.MultiTenancy.AbpMultiTenancyModule |
|||
2022-03-09 11:11:02.726 G - Volo.Abp.Threading.AbpThreadingModule |
|||
2022-03-09 11:11:02.727 G - Volo.Abp.EventBus.AbpEventBusModule |
|||
2022-03-09 11:11:02.728 G - Volo.Abp.Guids.AbpGuidsModule |
|||
2022-03-09 11:11:02.728 G - Volo.Abp.ObjectMapping.AbpObjectMappingModule |
|||
2022-03-09 11:11:02.729 G - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule |
|||
2022-03-09 11:11:02.729 G - Volo.Abp.Specifications.AbpSpecificationsModule |
|||
2022-03-09 11:11:02.730 G - Win.Sfs.SettleAccount.SettleAccountDomainSharedModule |
|||
2022-03-09 11:11:02.730 G - Volo.Abp.Validation.AbpValidationModule |
|||
2022-03-09 11:11:02.732 G - Win.Sfs.SettleAccount.SettleAccountApplicationContractsModule |
|||
2022-03-09 11:11:02.733 G - Volo.Abp.Application.AbpDddApplicationContractsModule |
|||
2022-03-09 11:11:02.734 G - Volo.Abp.Authorization.AbpAuthorizationModule |
|||
2022-03-09 11:11:02.735 G - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule |
|||
2022-03-09 11:11:02.736 G - Volo.Abp.AutoMapper.AbpAutoMapperModule |
|||
2022-03-09 11:11:02.737 G - Volo.Abp.Dapper.AbpDapperModule |
|||
2022-03-09 11:11:02.738 G - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule |
|||
2022-03-09 11:11:02.739 G - Win.Abp.Snowflakes.AbpSnowflakeGeneratorModule |
|||
2022-03-09 11:11:02.741 G - Volo.Abp.Http.Client.IdentityModel.AbpHttpClientIdentityModelModule |
|||
2022-03-09 11:11:02.743 G - Volo.Abp.Http.Client.AbpHttpClientModule |
|||
2022-03-09 11:11:02.744 G - Volo.Abp.Http.AbpHttpModule |
|||
2022-03-09 11:11:02.745 G - Volo.Abp.Http.AbpHttpAbstractionsModule |
|||
2022-03-09 11:11:02.746 G - Volo.Abp.Minify.AbpMinifyModule |
|||
2022-03-09 11:11:02.747 G - Volo.Abp.Castle.AbpCastleCoreModule |
|||
2022-03-09 11:11:02.748 G - Volo.Abp.IdentityModel.AbpIdentityModelModule |
|||
2022-03-09 11:11:02.749 G - Volo.Abp.Caching.AbpCachingModule |
|||
2022-03-09 11:11:02.750 G - Volo.Abp.Serialization.AbpSerializationModule |
|||
2022-03-09 11:11:02.751 G - Volo.Abp.Identity.AbpIdentityHttpApiClientModule |
|||
2022-03-09 11:11:02.752 G - Volo.Abp.Identity.AbpIdentityApplicationContractsModule |
|||
2022-03-09 11:11:02.753 G - Volo.Abp.Identity.AbpIdentityDomainSharedModule |
|||
2022-03-09 11:11:02.755 G - Volo.Abp.Users.AbpUsersDomainSharedModule |
|||
2022-03-09 11:11:02.758 G - Volo.Abp.Features.AbpFeaturesModule |
|||
2022-03-09 11:11:02.759 G - Volo.Abp.Users.AbpUsersAbstractionModule |
|||
2022-03-09 11:11:02.760 G - Volo.Abp.Application.AbpDddApplicationModule |
|||
2022-03-09 11:11:02.761 G - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule |
|||
2022-03-09 11:11:02.763 G - Volo.Abp.PermissionManagement.AbpPermissionManagementApplicationContractsModule |
|||
2022-03-09 11:11:02.764 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule |
|||
2022-03-09 11:11:02.765 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule |
|||
2022-03-09 11:11:02.766 G - Volo.Abp.AspNetCore.AbpAspNetCoreModule |
|||
2022-03-09 11:11:02.767 G - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule |
|||
2022-03-09 11:11:02.768 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule |
|||
2022-03-09 11:11:02.769 G - Volo.Abp.UI.Navigation.AbpUiNavigationModule |
|||
2022-03-09 11:11:02.770 G - Volo.Abp.UI.AbpUiModule |
|||
2022-03-09 11:11:02.771 G - Win.Sfs.SettleAccount.SettleAccountEntityFrameworkCoreModule |
|||
2022-03-09 11:11:02.773 G - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule |
|||
2022-03-09 11:11:02.777 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule |
|||
2022-03-09 11:11:02.778 G - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule |
|||
2022-03-09 11:11:02.779 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule |
|||
2022-03-09 11:11:02.780 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule |
|||
2022-03-09 11:11:02.781 G - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule |
|||
2022-03-09 11:11:02.782 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule |
|||
2022-03-09 11:11:02.784 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule |
|||
2022-03-09 11:11:02.787 G - Volo.Abp.TenantManagement.EntityFrameworkCore.AbpTenantManagementEntityFrameworkCoreModule |
|||
2022-03-09 11:11:02.789 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainModule |
|||
2022-03-09 11:11:02.790 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainSharedModule |
|||
2022-03-09 11:11:02.791 G - Win.Sfs.SettleAccount.SettleAccountHttpApiModule |
|||
2022-03-09 11:11:02.792 G - Volo.Abp.Autofac.AbpAutofacModule |
|||
2022-03-09 11:11:02.793 G - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule |
|||
2022-03-09 11:11:02.794 G - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule |
|||
2022-03-09 11:11:02.795 G - Volo.Abp.BlobStoring.AbpBlobStoringModule |
|||
2022-03-09 11:11:02.796 G - Volo.Abp.BlobStoring.FileSystem.AbpBlobStoringFileSystemModule |
|||
2022-03-09 11:11:02.797 G - Volo.Abp.BackgroundJobs.Hangfire.AbpBackgroundJobsHangfireModule |
|||
2022-03-09 11:11:02.798 G - Volo.Abp.BackgroundJobs.AbpBackgroundJobsAbstractionsModule |
|||
2022-03-09 11:11:02.799 G - Volo.Abp.Hangfire.AbpHangfireModule |
|||
2022-03-09 11:11:02.895 G Start installing Hangfire SQL objects... |
|||
2022-03-09 11:11:03.139 G Hangfire SQL objects installed. |
|||
2022-03-09 11:11:03.153 G Starting Hangfire Server using job storage: 'SQL Server: 192.168.0.140@SettleAccountService' |
|||
2022-03-09 11:11:03.154 G Using the following options for SQL Server job storage: Queue poll interval: 00:00:15. |
|||
2022-03-09 11:11:03.155 G Using the following options for Hangfire Server: |
|||
Worker count: 20 |
|||
Listening queues: 'default' |
|||
Shutdown timeout: 00:00:15 |
|||
Schedule polling interval: 00:00:15 |
|||
2022-03-09 11:11:03.244 G Starting Hangfire Server using job storage: 'SQL Server: 192.168.0.140@SettleAccountService' |
|||
2022-03-09 11:11:03.245 G Using the following options for SQL Server job storage: Queue poll interval: 00:00:15. |
|||
2022-03-09 11:11:03.247 G Using the following options for Hangfire Server: |
|||
Worker count: 20 |
|||
Listening queues: 'default' |
|||
Shutdown timeout: 00:00:15 |
|||
Schedule polling interval: 00:00:15 |
|||
2022-03-09 11:11:03.629 G Server win102022ptzdgh:26888:f34fd982 successfully announced in 368.294 ms |
|||
2022-03-09 11:11:03.629 G Server win102022ptzdgh:26888:e4b45e18 successfully announced in 413.2291 ms |
|||
2022-03-09 11:11:03.644 G Server win102022ptzdgh:26888:e4b45e18 is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler... |
|||
2022-03-09 11:11:03.644 G Server win102022ptzdgh:26888:f34fd982 is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler... |
|||
2022-03-09 11:11:03.886 G Server win102022ptzdgh:26888:e4b45e18 all the dispatchers started |
|||
2022-03-09 11:11:03.928 G Server win102022ptzdgh:26888:f34fd982 all the dispatchers started |
|||
2022-03-09 11:11:05.574 G Entity Framework Core "5.0.8" initialized '"PermissionManagementDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "QuerySplittingBehavior=SplitQuery " |
|||
2022-03-09 11:11:06.533 G Executed DbCommand ("379"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.679 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.702 G Executed DbCommand ("16"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.712 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.720 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.730 G Executed DbCommand ("5"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.738 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.746 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.762 G Executed DbCommand ("10"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.778 G Executed DbCommand ("7"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.785 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.797 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.818 G Executed DbCommand ("11"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.824 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.833 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.840 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.848 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.855 G Executed DbCommand ("3"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.865 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.875 G Executed DbCommand ("5"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.885 G Executed DbCommand ("5"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.893 G Executed DbCommand ("3"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.903 G Executed DbCommand ("4"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.909 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.917 G Executed DbCommand ("4"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.926 G Executed DbCommand ("4"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.933 G Executed DbCommand ("3"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.941 G Executed DbCommand ("3"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.948 G Executed DbCommand ("3"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.965 G Executed DbCommand ("11"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.984 G Executed DbCommand ("10"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:06.999 G Executed DbCommand ("7"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.017 G Executed DbCommand ("11"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.031 G Executed DbCommand ("7"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.057 G Executed DbCommand ("18"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.064 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.071 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.084 G Executed DbCommand ("6"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.094 G Executed DbCommand ("4"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.100 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.108 G Executed DbCommand ("3"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.125 G Executed DbCommand ("12"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.144 G Executed DbCommand ("14"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.152 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.167 G Executed DbCommand ("8"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.176 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.184 G Executed DbCommand ("4"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.192 G Executed DbCommand ("3"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.200 G Executed DbCommand ("3"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.208 G Executed DbCommand ("3"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.234 G Executed DbCommand ("19"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.241 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.248 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.258 G Executed DbCommand ("5"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.270 G Executed DbCommand ("7"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.290 G Executed DbCommand ("15"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.302 G Executed DbCommand ("4"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.310 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.317 G Executed DbCommand ("3"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.324 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.334 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.340 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.348 G Executed DbCommand ("3"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.356 G Executed DbCommand ("3"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.367 G Executed DbCommand ("3"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.373 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.380 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.389 G Executed DbCommand ("5"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.398 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.405 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.414 G Executed DbCommand ("4"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.421 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.431 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.503 G Executed DbCommand ("64"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.578 G Executed DbCommand ("71"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.587 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.598 G Executed DbCommand ("6"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.605 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.619 G Executed DbCommand ("5"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.626 G Executed DbCommand ("3"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.633 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:07.642 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId] |
|||
FROM [AbpPermissionGrants] AS [a] |
|||
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2)) |
|||
ORDER BY [a].[Id]" |
|||
2022-03-09 11:11:08.075 G Initialized all ABP modules. |
|||
2022-03-09 11:11:08.210 G Now listening on: "http://localhost:44378" |
|||
2022-03-09 11:11:08.212 G Application started. Press Ctrl+C to shut down. |
|||
2022-03-09 11:11:08.213 G Hosting environment: "Development" |
|||
2022-03-09 11:11:08.222 G Content root path: "C:\Users\Administrator\Source\Repos\Win.sfs.SmartSettlementSystem.PG\src\Modules\SettleAccount\host\SettleAccount.HttpApi.Host" |
|||
2022-03-09 11:11:09.061 G Request starting HTTP/1.1 GET http://localhost:44378/ - - |
|||
2022-03-09 11:11:10.236 G Entity Framework Core "5.0.8" initialized '"SettingManagementDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "QuerySplittingBehavior=SplitQuery " |
|||
2022-03-09 11:11:10.265 G Executed DbCommand ("4"ms) [Parameters=["@__providerName_0='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[Value] |
|||
FROM [AbpSettings] AS [a] |
|||
WHERE ([a].[ProviderName] = @__providerName_0) AND [a].[ProviderKey] IS NULL" |
|||
2022-03-09 11:11:10.423 G Entity Framework Core "5.0.8" initialized '"SettingManagementDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "QuerySplittingBehavior=SplitQuery " |
|||
2022-03-09 11:11:10.435 G Executed DbCommand ("5"ms) [Parameters=["@__providerName_0='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']" |
|||
""SELECT [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[Value] |
|||
FROM [AbpSettings] AS [a] |
|||
WHERE ([a].[ProviderName] = @__providerName_0) AND [a].[ProviderKey] IS NULL" |
|||
2022-03-09 11:11:10.724 G Executing endpoint '"Win.Sfs.SettleAccount.Controllers.HomeController.Index (SettleAccount.HttpApi.Host)"' |
|||
2022-03-09 11:11:10.835 G Route matched with "{action = \"Index\", controller = \"Home\", area = \"\"}". Executing controller action with signature "Microsoft.AspNetCore.Mvc.ActionResult Index()" on controller "Win.Sfs.SettleAccount.Controllers.HomeController" ("SettleAccount.HttpApi.Host"). |
|||
2022-03-09 11:11:10.880 G Executing RedirectResult, redirecting to "/swagger". |
|||
2022-03-09 11:11:10.893 G Executed action "Win.Sfs.SettleAccount.Controllers.HomeController.Index (SettleAccount.HttpApi.Host)" in 41.405ms |
|||
2022-03-09 11:11:10.896 G Executed endpoint '"Win.Sfs.SettleAccount.Controllers.HomeController.Index (SettleAccount.HttpApi.Host)"' |
|||
2022-03-09 11:11:10.922 G Request finished HTTP/1.1 GET http://localhost:44378/ - - - 302 0 - 1868.2549ms |
|||
2022-03-09 11:11:10.945 G Request starting HTTP/1.1 GET http://localhost:44378/swagger/index.html - - |
|||
2022-03-09 11:11:11.035 G Request finished HTTP/1.1 GET http://localhost:44378/swagger/index.html - - - 200 - text/html;charset=utf-8 90.2703ms |
|||
2022-03-09 11:11:11.045 G Request starting HTTP/1.1 GET http://localhost:44378/_framework/aspnetcore-browser-refresh.js - - |
|||
2022-03-09 11:11:11.050 G Request finished HTTP/1.1 GET http://localhost:44378/_framework/aspnetcore-browser-refresh.js - - - 200 12010 application/javascript;+charset=utf-8 4.4254ms |
|||
2022-03-09 11:11:11.313 G Request starting HTTP/1.1 GET http://localhost:44378/swagger/v1/swagger.json - - |
|||
2022-03-09 11:11:14.787 G Request finished HTTP/1.1 GET http://localhost:44378/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 3474.1432ms |
@ -0,0 +1,354 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.IO; |
|||
using System.Linq; |
|||
using System.Threading.Tasks; |
|||
using EFCore.BulkExtensions; |
|||
using Magicodes.ExporterAndImporter.Core; |
|||
using Magicodes.ExporterAndImporter.Excel; |
|||
using Microsoft.AspNetCore.Authorization; |
|||
using Microsoft.AspNetCore.Http; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using Microsoft.Extensions.Caching.Distributed; |
|||
using Shouldly; |
|||
using Volo.Abp; |
|||
using Volo.Abp.Application.Dtos; |
|||
using Volo.Abp.Application.Services; |
|||
using Volo.Abp.BackgroundJobs; |
|||
using Volo.Abp.Caching; |
|||
using Volo.Abp.Domain.Repositories; |
|||
using Volo.Abp.Guids; |
|||
using Volo.Abp.ObjectMapping; |
|||
using Volo.Abp.Uow; |
|||
using Win.Abp.Snowflakes; |
|||
using Win.Sfs.BaseData.ImportExcelCommon; |
|||
using Win.Sfs.SettleAccount.Boms; |
|||
using Win.Sfs.SettleAccount.CommonManagers; |
|||
using Win.Sfs.SettleAccount.Constant; |
|||
using Win.Sfs.SettleAccount.Entities.Boms; |
|||
using Win.Sfs.SettleAccount.Entities.Errors; |
|||
using Win.Sfs.SettleAccount.Entities.EstimatedInventories; |
|||
using Win.Sfs.SettleAccount.Entities.ImportMap; |
|||
using Win.Sfs.SettleAccount.Entities.Prices; |
|||
using Win.Sfs.SettleAccount.Entities.TaskJobs; |
|||
using Win.Sfs.SettleAccount.Errors; |
|||
using Win.Sfs.SettleAccount.EstimatedInventories; |
|||
using Win.Sfs.SettleAccount.ExcelImporter; |
|||
using Win.Sfs.SettleAccount.ExportReports; |
|||
|
|||
|
|||
using Win.Sfs.Shared.CacheBase; |
|||
using Win.Utils; |
|||
namespace Win.Sfs.SettleAccount.Entities.ErrorBills |
|||
{ |
|||
|
|||
/// <summary>
|
|||
/// 物料主数据应用服务
|
|||
/// </summary>
|
|||
// [Authorize(SettleAccountPermissions.ErrorBills.Default)]
|
|||
//[AllowAnonymous]
|
|||
[Route("api/settleaccount/ErrorBill")] |
|||
public class ErrorBillAppService : SettleAccountApplicationBase<ErrorBill> |
|||
{ |
|||
|
|||
|
|||
private readonly IExcelImportAppService _excelImportService; |
|||
private readonly ISettleAccountBranchEfCoreRepository<ErrorBill, Guid> _repository; |
|||
private readonly ISettleAccountBranchEfCoreRepository<Bom, Guid> _bomRepository; |
|||
private readonly ISettleAccountBranchEfCoreRepository<BomVersion, Guid> _bomversionRepository; |
|||
private readonly ISettleAccountBranchEfCoreRepository<PriceList, Guid> _priceRepository; |
|||
private readonly ISettleAccountBranchEfCoreRepository<PriceListVersion, Guid> _priceversionRepository; |
|||
private readonly ISettleAccountBranchEfCoreRepository<ImportColumnMap, Guid> _mapRepository; |
|||
//private readonly ISettleAccountBranchEfCoreRepository<ErrorBillRelationship, Guid> _relationshipRepository;
|
|||
/// <summary>
|
|||
/// 构建方法
|
|||
/// </summary>
|
|||
/// <param name="guidGenerator">构建UID</param>
|
|||
/// <param name="objectMapper">自动map</param>
|
|||
/// <param name="repository">仓储接口</param>
|
|||
/// <param name="cache">缓存</param>
|
|||
public ErrorBillAppService( |
|||
|
|||
ISettleAccountBranchEfCoreRepository<ErrorBill, Guid> repository, |
|||
ISettleAccountBranchEfCoreRepository<ImportColumnMap, Guid> mapRepository, |
|||
ISettleAccountBranchEfCoreRepository<Bom, Guid> bomRepository, |
|||
ISettleAccountBranchEfCoreRepository<BomVersion, Guid> bomversionRepository, |
|||
TaskJobService service, |
|||
//ISettleAccountBranchEfCoreRepository<ErrorBillRelationship, Guid> relationshipRepository,
|
|||
ISettleAccountBranchEfCoreRepository<PriceList, Guid> priceRepository, |
|||
ISettleAccountBranchEfCoreRepository<PriceListVersion, Guid> priceversionRepository, |
|||
|
|||
IDistributedCache<ErrorBill> cache, |
|||
IExcelImportAppService excelImportService, |
|||
ISnowflakeIdGenerator snowflakeIdGenerator, |
|||
ICommonManager commonManager |
|||
|
|||
) : base(cache,excelImportService,snowflakeIdGenerator,commonManager) |
|||
{ |
|||
_priceRepository = priceRepository; |
|||
_priceversionRepository = priceversionRepository; |
|||
_bomRepository = bomRepository; |
|||
_excelImportService = excelImportService; |
|||
_repository = repository; |
|||
//_relationshipRepository = relationshipRepository;
|
|||
_mapRepository = mapRepository; |
|||
_bomversionRepository = bomversionRepository; |
|||
|
|||
} |
|||
|
|||
|
|||
/// <summary>
|
|||
/// 导入功能
|
|||
/// </summary>
|
|||
/// <param name="files">上传的文件(前端已经限制只能上传一个附件)</param>
|
|||
/// <returns></returns>
|
|||
[HttpPost] |
|||
[Route("ExcelImport")] |
|||
[DisableRequestSizeLimit] |
|||
|
|||
public async Task<string> ErrorBillUploadExcelImportMap([FromForm] IFormFileCollection files,string version) |
|||
{ |
|||
ExportImporter _exportImporter = new ExportImporter(); |
|||
var result = await _exportImporter.ExtendExcelImport<ErrorBill>(files, _excelImportService); |
|||
return ApplicationConsts.SuccessStr; |
|||
} |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
/// <summary>
|
|||
/// 导入功能
|
|||
/// </summary>
|
|||
/// <param name="files">上传的文件(前端已经限制只能上传一个附件)</param>
|
|||
/// <returns></returns>
|
|||
[HttpPost] |
|||
[Route("ExcelImport")] |
|||
[DisableRequestSizeLimit] |
|||
|
|||
public async Task<string> ErrorBillUploadExcelImport([FromForm] IFormFileCollection files) |
|||
{ |
|||
ExportImporter _exportImporter = new ExportImporter(); |
|||
var result = await _exportImporter.UploadExcelImport<ErrorBillImportDto>(files, _excelImportService); |
|||
var _ls = ObjectMapper.Map<List<ErrorBillImportDto>, List<ErrorBill>>(result); |
|||
var checkList = new List<ErrorExportDto>(); |
|||
foreach (var itm in _ls) |
|||
{ |
|||
|
|||
|
|||
|
|||
//var _first = await _repository.FirstOrDefaultAsync(p => p.ErrorBillCode == itm.ErrorBillCode);
|
|||
//if (_first == null)
|
|||
//{
|
|||
//var entity = new ErrorBill(
|
|||
// GuidGenerator.Create(),
|
|||
// GuidGenerator.Create(),
|
|||
// itm.Factory,
|
|||
// itm.ErrorBillCode,
|
|||
// itm.ErrorBillDesc,
|
|||
// itm.Unit,
|
|||
// itm.EstimateType,
|
|||
// itm.EstimateTypeDesc
|
|||
// );
|
|||
// await _repository.InsertAsync(entity);
|
|||
//}
|
|||
//else
|
|||
//{
|
|||
//_first.Update(itm.ErrorBillDesc, itm.Unit, itm.EstimateType, itm.EstimateTypeDesc, itm.Factory
|
|||
// );
|
|||
//await _repository.UpdateAsync(_first);
|
|||
//}
|
|||
//var _f = await _relationshipRepository.FirstOrDefaultAsync(p => p.ErpErrorBillCode == itm.ErrorBillCode);
|
|||
//if (_f != null)
|
|||
//{
|
|||
// _f.Update(itm.ErrorBillDesc, _f.ErrorBillProperty, _f.SettleErrorBillCode, _f.ShipMaterailCode);
|
|||
// await _relationshipRepository.UpdateAsync(_f);
|
|||
//}
|
|||
//else
|
|||
//{
|
|||
// var _r = new ErrorBillRelationship(GuidGenerator.Create(), GuidGenerator.Create(), itm.ErrorBillCode, itm.ErrorBillDesc, string.Empty, string.Empty, string.Empty, itm.EstimateType);
|
|||
// await _relationshipRepository.InsertAsync(_r);
|
|||
//}
|
|||
|
|||
|
|||
|
|||
|
|||
} |
|||
return ApplicationConsts.SuccessStr; |
|||
} |
|||
|
|||
|
|||
|
|||
/// <summary>
|
|||
/// 按ID获取唯一实体
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// 返回实体全部属性
|
|||
/// </remarks>
|
|||
/// <param name="id">ID</param>
|
|||
/// <returns>实体DTO</returns>
|
|||
[HttpGet] |
|||
[Route("{id}")] |
|||
|
|||
virtual public async Task<ErrorBillDto> GetAsync(Guid id) |
|||
{ |
|||
|
|||
|
|||
var result = await GetFromCacheAsync(id); |
|||
var dto = ObjectMapper.Map<ErrorBill, ErrorBillDto>(result); |
|||
return dto; |
|||
} |
|||
|
|||
|
|||
private async Task<ErrorBill> GetFromCacheAsync(Guid id) |
|||
{ |
|||
var result = await _repository.GetAsync(id); |
|||
|
|||
return result; |
|||
} |
|||
|
|||
|
|||
private async Task<long> GetCountAsync(ErrorBillRequestDto input) |
|||
{ |
|||
return await _repository.GetCountByFilterAsync(input.BranchId, input.Filters); |
|||
} |
|||
|
|||
|
|||
|
|||
|
|||
///// <summary>
|
|||
|
|||
/// <summary>
|
|||
/// 根据筛选条件获取实体列表
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
|
|||
/// </remarks>
|
|||
/// <param name="input">请求条件</param>
|
|||
/// <returns>实体DTO列表</returns>
|
|||
[HttpPost] |
|||
[Route("list")] |
|||
|
|||
virtual public async Task<PagedResultDto<ErrorBillDto>> GetListAsync(ErrorBillRequestDto input) |
|||
{ |
|||
var entities = await _repository.GetListByFilterAsync(input.BranchId, input.Filters, input.Sorting, input.MaxResultCount, |
|||
input.SkipCount, true); |
|||
|
|||
var totalCount = await GetCountAsync(input); |
|||
var dtos = ObjectMapper.Map<List<ErrorBill>, List<ErrorBillDto>>(entities); |
|||
|
|||
return new PagedResultDto<ErrorBillDto>(totalCount, dtos); |
|||
} |
|||
|
|||
|
|||
/// <summary>
|
|||
/// 获取实体总数
|
|||
/// </summary>
|
|||
/// <returns>实体总数</returns>
|
|||
[HttpGet] |
|||
[Route("count")] |
|||
|
|||
virtual public async Task<long> GetTotalCountAsync(Guid branchId) |
|||
{ |
|||
return await _repository.GetCountAsync(branchId); |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// 获取全部实体列表
|
|||
/// </summary>
|
|||
/// <returns>实体DTO列表</returns>
|
|||
[HttpGet] |
|||
[Route("all")] |
|||
|
|||
virtual public async Task<ListResultDto<ErrorBillDto>> GetAllAsync(Guid branchId) |
|||
{ |
|||
var entities = await _repository.GetAllAsync(branchId, true); |
|||
var dtos = ObjectMapper.Map<List<ErrorBill>, List<ErrorBillDto>>(entities); |
|||
return new ListResultDto<ErrorBillDto>(dtos); |
|||
} |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
/// <summary>
|
|||
/// 新增实体
|
|||
/// </summary>
|
|||
/// <param name="input">新增实体DTO</param>
|
|||
/// <returns>实体DTO</returns>
|
|||
|
|||
|
|||
|
|||
|
|||
/// <summary>
|
|||
/// 删除实体
|
|||
/// </summary>
|
|||
/// <param name="id">ID</param>
|
|||
/// <returns>无</returns>
|
|||
[HttpDelete] |
|||
[Route("{id}")] |
|||
|
|||
virtual public async Task DeleteAsync(Guid id) |
|||
{ |
|||
var entity = await GetFromCacheAsync(id); |
|||
await Cache.DeleteAsync<ErrorBill>(id.ToString()); |
|||
await _repository.DeleteAsync(id); |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// 按IDs删除实体列表
|
|||
/// </summary>
|
|||
/// <param name="ids">IDs</param>
|
|||
/// <returns>是否执行成功</returns>
|
|||
[HttpPost] |
|||
[Route("delete")] |
|||
|
|||
virtual public async Task<bool> DeleteListAsync(List<Guid> ids) |
|||
{ |
|||
var _query = _repository.Where(p => ids.Contains(p.Id)); |
|||
int i = await _query.BatchDeleteAsync(); |
|||
|
|||
if (i == 0) |
|||
{ |
|||
return false; |
|||
} |
|||
return true; |
|||
} |
|||
[HttpPost] |
|||
[Route("Export")] |
|||
|
|||
virtual public async Task<string> ExportAsync(ErrorBillRequestDto input) |
|||
{ |
|||
string _fileName = string.Format("错误单据_{0}.xlsx", DateTime.Now.ToString("yyyyMMdd")); |
|||
var entities = await _repository.GetListByFilterAsync(input.BranchId, input.Filters, input.Sorting, int.MaxValue, |
|||
0, true); |
|||
|
|||
var dtoDetails = ObjectMapper.Map<List<ErrorBill>, List<ErrorBillExportDto>>(entities); |
|||
|
|||
//声明导出容器
|
|||
ExportImporter _exportImporter = new ExportImporter(); |
|||
|
|||
var result = await _exportImporter.ExcelExporter(dtoDetails); |
|||
|
|||
result.ShouldNotBeNull(); |
|||
|
|||
//保存导出文件到服务器存成二进制
|
|||
await _excelImportService.SaveBlobAsync( |
|||
new SaveExcelImportInputDto |
|||
{ |
|||
Name = _fileName, |
|||
Content = result |
|||
} |
|||
); |
|||
return _fileName; |
|||
} |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
} |
|||
} |
@ -0,0 +1,31 @@ |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Win.Sfs.Shared.DomainBase; |
|||
|
|||
using Win.Sfs.Shared.Constant; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Errors |
|||
{ |
|||
/// <summary>
|
|||
/// 错误单据
|
|||
/// </summary>
|
|||
public class ErrorBill : FullAuditedAggregateRootBase<Guid> |
|||
{ |
|||
/// <summary>
|
|||
///错误单据号
|
|||
/// </summary>
|
|||
public string BillNum { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 物料号
|
|||
/// </summary>
|
|||
public string MaterialCode { set; get; } |
|||
|
|||
/// <summary>
|
|||
/// 发货单号
|
|||
/// </summary>
|
|||
public string WmsBillNum { set; get; } |
|||
|
|||
|
|||
} |
|||
} |
@ -0,0 +1,48 @@ |
|||
using Dapper; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp.DependencyInjection; |
|||
using Volo.Abp.Domain.Repositories.Dapper; |
|||
using Volo.Abp.EntityFrameworkCore; |
|||
using Win.Sfs.SettleAccount.EntityFrameworkCore; |
|||
using Win.Sfs.SettleAccount.Reports.InvoiceSettledDiffs; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob |
|||
{ |
|||
|
|||
|
|||
/// <summary>
|
|||
/// 1.大众发票与结算汇总核对表-UPdate
|
|||
/// </summary>
|
|||
public class WmsJitOutputDapperRepository : DapperRepository<UnInterfaceDbContext>, ITransientDependency |
|||
{ |
|||
public WmsJitOutputDapperRepository(IDbContextProvider<UnInterfaceDbContext> dbContextProvider) |
|||
: base(dbContextProvider) |
|||
{ |
|||
} |
|||
public virtual bool Execute(string billnum,string date) |
|||
{ |
|||
string sqlString = |
|||
"DECLARE\t@return_value int\n" + |
|||
"EXEC\t@return_value = [dbo].[p_wms_output_jit1]\n" + |
|||
"@billnum = N'{0}',\n" + |
|||
"@type = 1,\n" + |
|||
"@date = N'{1}'\n" + |
|||
"SELECT\t'Return Value' = @return_value\n"; |
|||
|
|||
|
|||
string _sql = string.Format(sqlString, billnum,date); |
|||
|
|||
var _query = DbConnection.ExecuteScalar(_sql,null,null,1200,System.Data.CommandType.StoredProcedure); |
|||
|
|||
|
|||
return true; |
|||
} |
|||
|
|||
|
|||
|
|||
} |
|||
} |
@ -0,0 +1,49 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
using TaskJob.EventArgs; |
|||
using TaskJob.Interfaces; |
|||
using Volo.Abp.DependencyInjection; |
|||
using Win.Sfs.SettleAccount.Reports.InvoiceSettledDiffs; |
|||
using Win.Sfs.SettleAccount.Repository.SettleAccount; |
|||
using Win.Sfs.SettleAccount.Repository.SettleAccountJob; |
|||
|
|||
namespace SettleAccount.Job.Services |
|||
{ |
|||
public class FisOutputService : ITransientDependency, IExportJob |
|||
{ |
|||
private readonly InvoiceSettledDiffRepository _repository; |
|||
private readonly InvoiceSettledDiffVersionRepository _versionRepository; |
|||
private readonly WmsJitOutputDapperRepository _dapperRepository; |
|||
private readonly OutputService _outputService; |
|||
private readonly InputService _inputService; |
|||
|
|||
public FisOutputService( |
|||
InvoiceSettledDiffRepository repository, |
|||
InvoiceSettledDiffVersionRepository versionRepository, |
|||
WmsJitOutputDapperRepository dapperRepository, |
|||
OutputService outputService, |
|||
InputService inputService |
|||
) |
|||
{ |
|||
_inputService = inputService; |
|||
_outputService = outputService; |
|||
_repository = repository; |
|||
_versionRepository = versionRepository; |
|||
_dapperRepository=dapperRepository; |
|||
} |
|||
|
|||
public string ExportFile(Guid id, List<string> exportName, List<CustomCondition> p_list) |
|||
{ |
|||
var billnum = p_list.Where(p => p.Name == "BillNum").FirstOrDefault().Value; |
|||
|
|||
var date = p_list.Where(p => p.Name == "Date").FirstOrDefault().Value; |
|||
|
|||
var _ls= _dapperRepository.Execute(billnum,date); |
|||
|
|||
return id.ToString(); |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue