【修改】试卷任务,【新增】试题交互,定时试题交互

This commit is contained in:
YOHO\20373
2025-05-16 15:32:38 +08:00
parent 247f6e4b19
commit 86188a7a54
61 changed files with 1612 additions and 103 deletions

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="pc.exam.pp.module.exam.dal.mysql.questionexamine.QuestionExamineMapper">
<insert id="insertOrUpdateList">
INSERT INTO education_question_examine (qu_id,source, create_teacher,type,create_time)
VALUES
<foreach collection="collection" item="item" separator=",">
( #{item.quId}, #{item.source}, #{item.createTeacher}, #{item.type},now())
</foreach>
ON DUPLICATE KEY UPDATE
source = VALUES(source),
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}
</select>
</mapper>