项目查询修改

feature-flyModify
洁 任 2025-07-12 08:56:39 +08:00
parent 8b60c949a0
commit 853bb9e5e4
1 changed files with 1 additions and 0 deletions

View File

@ -445,6 +445,7 @@ namespace OpenAuth.App.ServiceApp
}
var list = await db.LasaWorkspace.AsQueryable()
.Where(a=>a.IsDelete==false)
.WhereIF(!string.IsNullOrEmpty(key), a => a.WorkspaceName.Contains(key))
.WhereIF(state != 0, a => a.Sate == state)
.WhereIF(isjoin == 1, a => ids.Contains(a.Id))