9995
This commit is contained in:
parent
3049d37ca4
commit
cc46b2e039
@ -19,7 +19,7 @@ namespace YD_XinWei.Api
|
||||
{
|
||||
serverOptions.Limits.MaxRequestBodySize = 10485760;
|
||||
});
|
||||
webBuilder.UseKestrel().UseUrls("http://*:9994");
|
||||
webBuilder.UseKestrel().UseUrls("http://*:9995");
|
||||
webBuilder.UseIIS();
|
||||
webBuilder.UseStartup<Startup>();
|
||||
}).UseServiceProviderFactory(new AutofacServiceProviderFactory());
|
||||
|
||||
@ -391,6 +391,11 @@ namespace YD_XinWei.Api.Services.Impl
|
||||
stu.Achievement = stu.Achievement.HasValue ? Math.Round(stu.Achievement.Value / 1000.0, 2) - 0.5 : 0;
|
||||
}
|
||||
|
||||
if (dto.ProjectId == 2)
|
||||
{
|
||||
// 除以1000再除以60,保留两位小数
|
||||
stu.Achievement = stu.Achievement.HasValue ? Math.Round(stu.Achievement.Value / 1000.0 / 60, 2) : 0;
|
||||
}
|
||||
|
||||
if (dto.ProjectId == 21)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user