ปลด lock การกรอกคะแนน ให้กรอกได้อิสระ
This commit is contained in:
@@ -151,13 +151,13 @@ namespace TodoAPI2.Models
|
||||
|
||||
private (decimal?, decimal?) GetRangePercentage(List<eva_level_score_detailEntity> level_detail, decimal? score)
|
||||
{
|
||||
var item = (from i in level_detail
|
||||
/*var item = (from i in level_detail
|
||||
where i.min_value <= score && i.max_value >= score
|
||||
select i).FirstOrDefault();
|
||||
if (item != null)
|
||||
{
|
||||
return (item.min_percentage, item.max_percentage);
|
||||
}
|
||||
}*/
|
||||
return (-100, 100);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user