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

@@ -115,7 +115,7 @@ public partial class admin_supplier_index : MyWeb.config
//查詢要匯出的資料
var qry = _db.suppliers.AsEnumerable();
var qry = _db.suppliers.AsQueryable();
if (!string.IsNullOrEmpty(s_kind.SelectedValue))
qry = qry.Where(o => o.kind == Convert.ToInt32(s_kind.SelectedValue));