STAGE 3-2

This commit is contained in:
2025-11-12 18:22:53 +08:00
parent 8b8869fbde
commit 1d78bdd3d9
13 changed files with 13 additions and 16 deletions

View File

@@ -100,7 +100,7 @@ public partial class admin_accounting_index : MyWeb.config
sd.AppendChild(tr);
//查詢要匯出的資料
var qry = _db.accountings.AsEnumerable();
var qry = _db.accountings.AsQueryable();
if (!isStrNull(s_category.SelectedValue))
qry = qry.Where(o => o.category == Convert.ToInt32(s_category.SelectedValue));