TASK: 教育管理员账号到期后降为游客并移除所有子账号

This commit is contained in:
2025-09-16 17:01:18 +08:00
parent 5bac740efd
commit 106528ce08
5 changed files with 37 additions and 6 deletions

View File

@@ -25,7 +25,8 @@
</select>
<update id="toVisitor">
update t_account
set is_trial = 0, credits = 0, system_user = 0
set is_trial = 0, credits = 0, system_user = 0,
organization_name = null, credits_usage = null, credits_usage_limit = null, sub_account_num = null
where id = #{id}
</update>