staging #20

Merged
hy merged 24 commits from staging into master 2025-10-14 11:13:23 +08:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit 07967f1390 - Show all commits

View File

@ -66,7 +66,10 @@ namespace Learn.Archives.Core.Model
/// 上线率
/// </summary>
[SugarColumn(IsIgnore = true)]
public decimal OnLineRate => OnLineCount / PeopleCount;
public decimal OnLineRate => (decimal)OnLineCount / (decimal)PeopleCount;
/// <summary>
/// 总人数
/// </summary>
public int PeopleCount { get; set; }
/// <summary>
/// 上线人数