修复关注列表-新增非关注博主,丢失的bug

This commit is contained in:
jianzhichu
2025-12-02 09:20:11 +08:00
parent 6c99825548
commit de5813a874
9 changed files with 33 additions and 13 deletions
+4
View File
@@ -107,6 +107,10 @@ namespace dy.net.service
END;";
sqlSugarClient.Ado.ExecuteCommand(sql);
//更新关注表的IsNoFollowed字段为空的数据为0--兼容老版本-新加的字段
string followUpdateSql = @"Update dy_follow SET IsNoFollowed=0 WHERE IsNoFollowed is NULL";
sqlSugarClient.Ado.ExecuteCommand(followUpdateSql);
//var collectViedos = sqlSugarClient.Queryable<DouyinVideo>().ToList();
//if (collectViedos.Any())