【新增】试卷任务完整版后台接口

This commit is contained in:
YOHO\20373
2025-04-25 15:51:06 +08:00
parent 60629af34a
commit dfd0cd9eb5
29 changed files with 731 additions and 60 deletions

View File

@@ -66,6 +66,7 @@
AND tenant_id =#{tId}
and audit = 0
and status = 0
and deleted ='0'
<if test="educationPaperScheme.quLevel != null and educationPaperScheme.quLevel != ''">
AND qu_level = #{educationPaperScheme.quLevel}
</if>
@@ -93,17 +94,17 @@
select task_id from education_paper where paper_id=#{paperId}
</select>
<select id="selectPaperByTaskId" resultType="java.lang.String">
select paper_id from education_paper where task_id=#{taskId}
select paper_id from education_paper where task_id=#{taskId} and deleted ='0'
</select>
<select id="selectPaperRandomByTaskId" resultType="java.lang.String">
select paper_id from education_paper where task_id=#{taskId} and roll_up ='2'
</select>
<select id="selectPaperByTaskIdAndRoll" resultType="java.lang.String">
select paper_id from education_paper where task_id=#{taskId}
select paper_id from education_paper where task_id=#{taskId} and deleted ='0'
</select>
<select id="getPaperByTaskIdByType" resultType="java.lang.String">
select paper_id from education_paper where task_id=#{taskId} and status ='0' and roll_up IS NOT NULL
select paper_id from education_paper where task_id=#{taskId} and status ='0' and deleted ='0' and roll_up IS NOT NULL
</select>
<select id="getSelectPaperIdBySchemeIds" resultType="java.lang.String">
@@ -112,7 +113,7 @@ select task_id from education_paper where paper_id=#{paperId}
</select>
<select id="selectPaperListByTaskId" resultMap="EducationPaperResult">
<include refid="selectEducationPaperVo"/>
where task_id =#{taskId}
where task_id =#{taskId} and deleted ='0'
</select>