This commit is contained in:
tanglong 2026-09-10 09:55:08 +08:00
parent 8ba7ff9d46
commit a826a3542c
11 changed files with 24 additions and 11 deletions

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Commons")] [assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Commons")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+5b472670430107c0bd350cea75501a5b21941d5b")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+8ba7ff9d46e66d1ef7128cd700b28a6d522c307e")]
[assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Commons")] [assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Commons")]
[assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Commons")] [assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Commons")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
07ae65f262b28d2a0c56caa1433b98f9bb8cbda92e1d412271e7832f91edb2ff bd1ba78b9486de34fb47107440dc3d5312c8176bdff7c7b7a08057b652ea031e

View File

@ -90,7 +90,7 @@
"privateAssets": "all" "privateAssets": "all"
} }
}, },
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.400\\RuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.401\\RuntimeIdentifierGraph.json"
} }
} }
} }

View File

@ -964,7 +964,7 @@
"privateAssets": "all" "privateAssets": "all"
} }
}, },
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.400\\RuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.401\\RuntimeIdentifierGraph.json"
} }
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"version": 2, "version": 2,
"dgSpecHash": "5OZ5DLxmp9k=", "dgSpecHash": "LaqeB//Jw3s=",
"success": true, "success": true,
"projectFilePath": "C:\\Users\\tangl\\Desktop\\Git\\YD_XinWei.Api\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj", "projectFilePath": "C:\\Users\\tangl\\Desktop\\Git\\YD_XinWei.Api\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj",
"expectedPackageFiles": [ "expectedPackageFiles": [

View File

@ -513,6 +513,19 @@ namespace YD_XinWei.Api.Services.Impl
sportsTestValueEntity.Weight = (float)(data.OriginalAchievement.HasValue ? Math.Round(data.OriginalAchievement.Value / 100.0, 2) : 0); sportsTestValueEntity.Weight = (float)(data.OriginalAchievement.HasValue ? Math.Round(data.OriginalAchievement.Value / 100.0, 2) : 0);
} }
//中长跑
if (dto.ProjectId == 2)
{
// 只除以1000,保留两位小数
value = (float)(data.Achievement.HasValue ? Math.Round(data.Achievement.Value / 1000.0, 2) : 0);
if (data.Sex == 1)
categoryEnum = "MeterRun_1000";
else
categoryEnum = "MeterRun_800";
}
var standard = healthStandards.Where(x => var standard = healthStandards.Where(x =>
x.CategoryEnum.Equals(categoryEnum) && x.CategoryEnum.Equals(categoryEnum) &&

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Api")] [assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Api")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+5b472670430107c0bd350cea75501a5b21941d5b")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+8ba7ff9d46e66d1ef7128cd700b28a6d522c307e")]
[assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Api")] [assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Api")]
[assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Api")] [assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Api")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
56a406c20c3d70806f543b172f1697d24c14976344f45353118346846f2d8b9b fa3f24f6284997e61497fb62d3017a5cc352863cdecabd45383cb110baea13cd

View File

@ -90,7 +90,7 @@
"privateAssets": "all" "privateAssets": "all"
} }
}, },
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.400\\RuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.401\\RuntimeIdentifierGraph.json"
} }
} }
}, },
@ -219,7 +219,7 @@
"privateAssets": "all" "privateAssets": "all"
} }
}, },
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.400\\RuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.401\\RuntimeIdentifierGraph.json"
} }
} }
} }

View File

@ -3372,7 +3372,7 @@
"privateAssets": "all" "privateAssets": "all"
} }
}, },
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.400\\RuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.401\\RuntimeIdentifierGraph.json"
} }
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"version": 2, "version": 2,
"dgSpecHash": "we3aLuLXZL4=", "dgSpecHash": "l/ACpe2Pd50=",
"success": true, "success": true,
"projectFilePath": "C:\\Users\\tangl\\Desktop\\Git\\YD_XinWei.Api\\Server\\YD_XinWei\\YD_XinWei.Api.csproj", "projectFilePath": "C:\\Users\\tangl\\Desktop\\Git\\YD_XinWei.Api\\Server\\YD_XinWei\\YD_XinWei.Api.csproj",
"expectedPackageFiles": [ "expectedPackageFiles": [