|
@@ -1746,7 +1746,8 @@ class ExamTypeStrategy
|
|
|
'chapter_id_list' => $chapterInfo['section_ids'],
|
|
'chapter_id_list' => $chapterInfo['section_ids'],
|
|
|
'diagnostic_chapter_id' => $chapterInfo['chapter_id'], // 记录摸底的章节ID
|
|
'diagnostic_chapter_id' => $chapterInfo['chapter_id'], // 记录摸底的章节ID
|
|
|
'textbook_id' => $textbookId,
|
|
'textbook_id' => $textbookId,
|
|
|
- 'grade' => $grade,
|
|
|
|
|
|
|
+ // 注意:不传 grade 参数,禁用"从其他知识点补充"的逻辑
|
|
|
|
|
+ // 用户需求:题目不够就不够,不从其他知识点补充
|
|
|
'paper_name' => $params['paper_name'] ?? ('章节摸底_' . ($chapterInfo['chapter_name'] ?? '') . '_' . now()->format('Ymd_His')),
|
|
'paper_name' => $params['paper_name'] ?? ('章节摸底_' . ($chapterInfo['chapter_name'] ?? '') . '_' . now()->format('Ymd_His')),
|
|
|
'assembleType' => 0, // 确保 paper_type 记录为摸底
|
|
'assembleType' => 0, // 确保 paper_type 记录为摸底
|
|
|
]);
|
|
]);
|
|
@@ -1828,7 +1829,7 @@ class ExamTypeStrategy
|
|
|
'chapter_id_list' => $nextChapter['section_ids'],
|
|
'chapter_id_list' => $nextChapter['section_ids'],
|
|
|
'diagnostic_chapter_id' => $nextChapter['chapter_id'],
|
|
'diagnostic_chapter_id' => $nextChapter['chapter_id'],
|
|
|
'textbook_id' => $textbookId,
|
|
'textbook_id' => $textbookId,
|
|
|
- 'grade' => $grade,
|
|
|
|
|
|
|
+ // 注意:不传 grade 参数,禁用"从其他知识点补充"的逻辑
|
|
|
'paper_name' => $params['paper_name'] ?? ('章节摸底_' . ($nextChapter['chapter_name'] ?? '') . '_' . now()->format('Ymd_His')),
|
|
'paper_name' => $params['paper_name'] ?? ('章节摸底_' . ($nextChapter['chapter_name'] ?? '') . '_' . now()->format('Ymd_His')),
|
|
|
'assembleType' => 0,
|
|
'assembleType' => 0,
|
|
|
]);
|
|
]);
|
|
@@ -1867,8 +1868,10 @@ class ExamTypeStrategy
|
|
|
|
|
|
|
|
$enhanced = array_merge($params, [
|
|
$enhanced = array_merge($params, [
|
|
|
'kp_code_list' => $unmasteredKpCodes,
|
|
'kp_code_list' => $unmasteredKpCodes,
|
|
|
|
|
+ 'explanation_kp_codes' => $unmasteredKpCodes, // 学案讲解只显示这些知识点(最多2个)
|
|
|
'textbook_id' => $textbookId,
|
|
'textbook_id' => $textbookId,
|
|
|
- 'grade' => $grade,
|
|
|
|
|
|
|
+ // 注意:不传 grade 参数,禁用"从其他知识点补充"的逻辑
|
|
|
|
|
+ // 用户需求:题目不够就不够,不从其他知识点补充
|
|
|
'paper_name' => $params['paper_name'] ?? ('智能学习_' . now()->format('Ymd_His')),
|
|
'paper_name' => $params['paper_name'] ?? ('智能学习_' . now()->format('Ymd_His')),
|
|
|
'assembleType' => 1, // paper_type 记录为智能组卷
|
|
'assembleType' => 1, // paper_type 记录为智能组卷
|
|
|
]);
|
|
]);
|