diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/ServiceProxyGeneratorBase.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/ServiceProxyGeneratorBase.cs index f92647aee0..5f53333de1 100644 --- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/ServiceProxyGeneratorBase.cs +++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/ServiceProxyGeneratorBase.cs @@ -47,7 +47,7 @@ public abstract class ServiceProxyGeneratorBase : IServiceProxyGenerator wher switch (serviceType) { case ServiceType.Application: - moduleDefinition.Controllers.RemoveAll(x => !x.Value.IsRemoteService); + moduleDefinition.Controllers.RemoveAll(x => x.Value.IsIntegrationService); break; case ServiceType.Integration: moduleDefinition.Controllers.RemoveAll(x => !x.Value.IsIntegrationService);