STAGE 3-3

This commit is contained in:
2025-11-12 18:30:04 +08:00
parent 1d78bdd3d9
commit 744eddcd77
11 changed files with 23 additions and 26 deletions

View File

@@ -405,7 +405,7 @@ public partial class admin_follower_reg : MyWeb.config
protected bool chk_pro_num(string txt, int num = 0)
{
bool success = false;
var qry = _db.followers.AsEnumerable();
var qry = _db.followers.AsQueryable();
qry = qry.Where(q => q.f_number == txt);
if (num > 0)
qry = qry.Where(q => q.num != num);