111
This commit is contained in:
@@ -347,9 +347,9 @@ namespace BLL
|
||||
}
|
||||
}
|
||||
//// 获取得到的单选题、多选题、判断题 数量
|
||||
int getDiffTestType1Count = sumTestType1Count - getTestTrainingItemList.Where(x => x.TestType == "1").Count();
|
||||
int getDiffTestType2Count = sumTestType2Count - getTestTrainingItemList.Where(x => x.TestType == "2").Count();
|
||||
int getDiffTestType3Count = sumTestType3Count - getTestTrainingItemList.Where(x => x.TestType == "3").Count();
|
||||
int getDiffTestType1Count = sumTestType1Count;// - getTestTrainingItemList.Where(x => x.TestType == "1").Count();
|
||||
int getDiffTestType2Count = sumTestType2Count;// - getTestTrainingItemList.Where(x => x.TestType == "2").Count();
|
||||
int getDiffTestType3Count = sumTestType3Count;// - getTestTrainingItemList.Where(x => x.TestType == "3").Count();
|
||||
if (getDiffTestType1Count > 0 || getDiffTestType2Count > 0 || getDiffTestType3Count > 0)
|
||||
{
|
||||
var getTestTrainingItemNulls = getTestTrainingItemALLs.Where(x => x.WorkPostIds == null).ToList();
|
||||
|
||||
@@ -280,7 +280,11 @@ namespace BLL
|
||||
//}
|
||||
if (!string.IsNullOrEmpty(VideoProgress))
|
||||
{
|
||||
item.VideoProgress = int.Parse(VideoProgress);
|
||||
if (!item.VideoProgress.HasValue)
|
||||
{
|
||||
item.VideoProgress = 0;
|
||||
}
|
||||
item.VideoProgress = item.VideoProgress.Value + int.Parse(VideoProgress);
|
||||
}
|
||||
var span = endTime.Subtract(startTime);
|
||||
//item.LearnTime = item.LearnTime.Value + (int)span.TotalMinutes;
|
||||
|
||||
Reference in New Issue
Block a user