Skip to content

Commit

Permalink
fix: fix app update name show exist error (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qinyouzeng authored Oct 28, 2024
1 parent 81b9a68 commit e5f08cd
Show file tree
Hide file tree
Showing 4 changed files with 191 additions and 194 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ join envCluster in _dbContext.EnvironmentClusters on ecp.EnvironmentClusterId eq
join env in _dbContext.Environments on envCluster.EnvironmentId equals env.Id
join cluster in _dbContext.Clusters on envCluster.ClusterId equals cluster.Id
join ecpa in _dbContext.EnvironmentClusterProjectApps on ecp.Id equals ecpa.EnvironmentClusterProjectId
join app in _dbContext.Apps.Where(app => app.Name == name || app.Identity.ToLower() == identity && !excludeAppIds.Contains(app.Id)) on ecpa.AppId equals app.Id
join app in _dbContext.Apps.Where(app => (app.Name == name || app.Identity.ToLower() == identity) && !excludeAppIds.Contains(app.Id)) on ecpa.AppId equals app.Id
select new
{
EnvironmentName = env.Name,
Expand Down
Loading

0 comments on commit e5f08cd

Please sign in to comment.