【新增】试卷任务完整版后台接口
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user