Commit 6eff924f authored by 罗超's avatar 罗超

提交

parent 8c88a203
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<DeleteExistingFiles>False</DeleteExistingFiles>
<ExcludeApp_Data>False</ExcludeApp_Data>
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<PublishProvider>FileSystem</PublishProvider>
<PublishUrl>G:\Publish\jinjie_publish</PublishUrl>
<WebPublishMethod>FileSystem</WebPublishMethod>
<SiteUrlToLaunchAfterPublish />
<TargetFramework>net5.0</TargetFramework>
<ProjectGuid>f0a5853b-7aa9-43bf-8e81-98b65f44a269</ProjectGuid>
<SelfContained>false</SelfContained>
</PropertyGroup>
</Project>
\ No newline at end of file
......@@ -247,6 +247,8 @@ namespace EduSpider.Spiders.ClassInRule
JObject lastObj = JObject.Parse(sItem.ToString());
var tempCream = lastObj.GetString("scoreRate").Replace("%", "");
tempCream = tempCream == "-" ? "0" : tempCream;
var tempStatus = lastObj.GetInt("stStatus");
tempStatus = tempStatus == 0 ? 0 : (tempStatus == 6 ? 2 : 1);
list.Add(new RB_Stu_HomeWork()
{
stu_homework_id = Int64.Parse($"{homework_id}{lastObj.GetInt("studentId")}"),
......@@ -272,7 +274,7 @@ namespace EduSpider.Spiders.ClassInRule
score_p = Convert.ToDecimal(tempCream)/100,
score_type = 5,
show_time = ConvertHelper.UnixToDateTime(lastObj.GetInt("endTime")),
status = lastObj.GetInt("stStatus"),
status = tempStatus,
stu_homework_share_key = string.Empty,
student_account = lastObj.GetString("studentAccount"),
student_name = lastObj.GetString("studentName"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment