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

@@ -29,7 +29,7 @@ public partial class admin_hr_attendances : MyWeb.config
else
{
int _num = Val(Request["num"]);
var qry = _db.member_check.AsEnumerable();
var qry = _db.member_check.AsQueryable();
var prod = qry.Where(q => q.num == _num).FirstOrDefault();
if (prod != null)
{

View File

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