2022年度甬江杯投票系统

This commit is contained in:
范露尧
2022-10-19 20:30:10 +08:00
parent a8fa2ceb75
commit 7e59e7d873
8 changed files with 398 additions and 258 deletions

View File

@@ -93,7 +93,8 @@ namespace Vote.Services.Dto
{
get
{
return yes_count >= 12;
//return yes_count >= 12;
return (yes_count / (yes_count + no_count)) >= (2.0 / 3.0);
}
}
/// <summary>