小程序接口调优

This commit is contained in:
2025-03-06 17:51:11 +08:00
parent 3afe6eada7
commit 18819ad259
7 changed files with 343 additions and 27 deletions
+3 -1
View File
@@ -41,7 +41,9 @@ namespace BLL
PersonId = item.UserId,
TrainingItemCode = dataItem.TrainingItemCode,
TrainingItemName = dataItem.TrainingItemName,
AttachUrl = dataItem.AttachUrl,
// LearnTime = dataItem.LearningTime,//秒 注释原因(2024-5-24):存储过程LearningTime是教材时长培训任务教材明细表中的学习时间字段LearnTime,不能复用)
LearnTime = 0,
AttachUrl = dataItem.AttachUrl,
};
var getTaskItem = db.Training_TaskItem.FirstOrDefault(x => x.TaskId == item.TaskId && x.TrainingItemName == newTaskItem.TrainingItemName && x.AttachUrl == newTaskItem.AttachUrl);