【修改】试卷任务,【新增】试题交互,定时试题交互
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user