畫面調整,增加統計

This commit is contained in:
2026-05-29 16:43:47 +08:00
parent a3a9968e62
commit 251c52311d
11 changed files with 292 additions and 209 deletions
+13
View File
@@ -244,8 +244,21 @@ public partial class admin_follower_reg : MyWeb.config
_db.followers.Add(followers);
_db.SaveChanges();
}
int _id = followers.num;
//應該要自動將此人設為第一個親友資料,不然牌位燈打時又要再做一次
family_members fm=new family_members();
fm.follower_num = _id;
fm.fam_name = followers.u_name;
fm.fam_gender=followers.sex;
fm.deceased = false;
fm.birthdate = followers.birthday;
_db.family_members.Add(fm);
_db.SaveChanges();
if (_id > 0)
{
// 如果啟用 search_keywords 功能,生成並更新 search_keywords