【新增】试卷任务完整版后台接口
This commit is contained in:
@@ -18,15 +18,13 @@
|
||||
<result property="deleted" column="deleted" />
|
||||
<result property="tenantId" column="tenant_id" />
|
||||
</resultMap>
|
||||
<resultMap type="ExamKnowledgePoints" id="ExamSpecialtyResult">
|
||||
<resultMap type="ExamPaperKnowledgePoints" id="ExamSpecialtyResult">
|
||||
<result property="spId" column="sp_id" />
|
||||
<result property="parentId" column="parent_id" />
|
||||
<result property="ancestors" column="ancestors" />
|
||||
<result property="spName" column="sp_name" />
|
||||
<result property="orderNum" column="order_num" />
|
||||
<result property="status" column="status" />
|
||||
<result property="delFlag" column="deleted" />
|
||||
<result property="tenantId" column="tenant_id" />
|
||||
<result property="unite" column="unite" />
|
||||
<result property="treeNum" column="tree_num" />
|
||||
</resultMap>
|
||||
@@ -39,18 +37,19 @@
|
||||
<select id="selectEducationPaperTaskByTaskId" parameterType="String" resultMap="EducationPaperTaskResult">
|
||||
<include refid="selectEducationPaperTaskVo"/>
|
||||
where task_id = #{taskId}
|
||||
and deleted='0'
|
||||
</select>
|
||||
<select id="getSpecialityList" resultType="java.lang.String">
|
||||
select sp_name from exam_specialty
|
||||
where parent_id =0
|
||||
and del_flag='0'
|
||||
and deleted='0'
|
||||
|
||||
</select>
|
||||
<select id="getCourseList" resultType="java.lang.String">
|
||||
SELECT sp_name
|
||||
FROM exam_specialty
|
||||
WHERE ancestors REGEXP '^[0-9]+,[0-9]+,[0-9]+$'
|
||||
and del_flag='0'
|
||||
and deleted='0'
|
||||
|
||||
</select>
|
||||
<select id="getKeywords" resultType="java.lang.String">
|
||||
|
Reference in New Issue
Block a user