【修改】拉取试题id,获取服务器列表【新增】试题审核时间、审核人
This commit is contained in:
@@ -107,6 +107,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
FROM system_tenant
|
||||
WHERE deleted = 0
|
||||
</select>
|
||||
<select id="selectExamQuestionCountByQuId" resultType="java.lang.Integer">
|
||||
select count(*) from exam_question where qu_id=#{quId}
|
||||
</select>
|
||||
<select id="getSchoolNameNaPage" resultMap="TenantVoResult">
|
||||
SELECT id, name, queue_name
|
||||
FROM system_tenant
|
||||
WHERE deleted = 0
|
||||
</select>
|
||||
|
||||
|
||||
<insert id="insertExamQuestion" parameterType="ExamQuestion">
|
||||
@@ -227,6 +235,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
#{id}
|
||||
</foreach>
|
||||
</update>
|
||||
<update id="updateExamQuestionByIds">
|
||||
UPDATE exam_question
|
||||
SET updater = #{updater},
|
||||
update_time = now()
|
||||
WHERE qu_id IN
|
||||
<foreach collection="quIds" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
|
||||
</update>
|
||||
|
||||
|
||||
</mapper>
|
@@ -16,10 +16,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
create_teacher = VALUES(create_teacher),
|
||||
type = VALUES(type),
|
||||
create_time=now()
|
||||
|
||||
|
||||
|
||||
|
||||
</insert>
|
||||
<select id="selectSchoolName" resultType="java.lang.String">
|
||||
select name from system_tenant where id =#{source}
|
||||
|
Reference in New Issue
Block a user