ee
This commit is contained in:
parent
f5873892e1
commit
bd96de2331
@ -115,7 +115,7 @@ namespace YD_XinWei.Commons.Dto.LargeScreen
|
||||
/// <summary>
|
||||
/// 成绩
|
||||
/// </summary>
|
||||
public float Value { get; set; }
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -177,7 +177,7 @@ namespace YD_XinWei.Commons.Dto.LargeScreen
|
||||
/// <summary>
|
||||
/// 成绩
|
||||
/// </summary>
|
||||
public float Value { get; set; }
|
||||
public string Value { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 得分
|
||||
|
@ -14,7 +14,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Commons")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+341f092fa8a580c888825be5842538ef8cd736ce")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f5873892e13dd05303d2e1923728ae8145db3bb6")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Commons")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Commons")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
@ -1 +1 @@
|
||||
1708079e145a5349ba8f93613ca137b030746ca998b017e978e57cde07ebdb63
|
||||
d21e18119644687bb8f18dacf75e94d588ea9b595ad50be25d576d64e50b4a48
|
||||
|
@ -148,7 +148,7 @@ namespace YD_XinWei.Api.Services.Impl
|
||||
Rank = index + 1,
|
||||
StudentNo = x.StudentNo,
|
||||
StudentName = x.StudentName,
|
||||
Value = x.Value
|
||||
Value = x.CategoryValue == 1 ? $"{x.Height}cm/{x.Weight}kg" : $"{x.Value}{((SportsTestItemType)x.CategoryValue).GetUnit()}"
|
||||
}).ToList(),
|
||||
|
||||
// 女生前十名
|
||||
@ -160,7 +160,7 @@ namespace YD_XinWei.Api.Services.Impl
|
||||
Rank = index + 1,
|
||||
StudentNo = x.StudentNo,
|
||||
StudentName = x.StudentName,
|
||||
Value = x.Value
|
||||
Value = x.CategoryValue == 1 ? $"{x.Height}cm/{x.Weight}kg" : $"{x.Value}{((SportsTestItemType)x.CategoryValue).GetUnit()}"
|
||||
}).ToList()
|
||||
})
|
||||
.ToList();
|
||||
@ -266,6 +266,8 @@ namespace YD_XinWei.Api.Services.Impl
|
||||
s.ClassName,
|
||||
s.CategoryValue,
|
||||
s.Value,
|
||||
s.Weight,
|
||||
s.Height,
|
||||
s.Score,
|
||||
s.Rank,
|
||||
s.ScoreTime
|
||||
@ -289,7 +291,7 @@ namespace YD_XinWei.Api.Services.Impl
|
||||
Photo = studentPhotoDict.TryGetValue(x.StudentNo, out var photo) ? photo : string.Empty,
|
||||
GradeAndClassName = $"{x.GradeName}-{x.ClassName}",
|
||||
CategoryValue = x.CategoryValue,
|
||||
Value = x.Value,
|
||||
Value = x.CategoryValue == 1 ? $"{x.Height}cm/{x.Weight}kg" : $"{x.Value}{((SportsTestItemType)x.CategoryValue).GetUnit()}",
|
||||
Score = x.Score,
|
||||
Rank = string.IsNullOrEmpty(x.Rank) ? "不及格" : x.Rank,
|
||||
ScoreTime = x.ScoreTime.ToString("yyyy-MM-dd HH:mm:ss")
|
||||
|
@ -1971,8 +1971,8 @@
|
||||
"format": "int32"
|
||||
},
|
||||
"value": {
|
||||
"type": "number",
|
||||
"format": "float"
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"score": {
|
||||
"type": "number",
|
||||
@ -2564,8 +2564,8 @@
|
||||
"nullable": true
|
||||
},
|
||||
"value": {
|
||||
"type": "number",
|
||||
"format": "float"
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
|
@ -14,7 +14,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Api")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+341f092fa8a580c888825be5842538ef8cd736ce")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f5873892e13dd05303d2e1923728ae8145db3bb6")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Api")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Api")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
@ -1 +1 @@
|
||||
8ce3d5257b77dd9e592a416ee265e34ae00f20179d1a5c89fc4b381f454e6dd5
|
||||
1b55e451e5df8b5cfbeba624584454d98ac4b71c594cd85758e5968810368ab3
|
||||
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user