学生端迁移仓库1020
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?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="com.example.exam.exam.mapper.EducationPaperQuMapper">
|
||||
|
||||
<resultMap type="EducationPaperQu" id="EducationPaperQuResult">
|
||||
<result property="paperId" column="paper_id" />
|
||||
<result property="quId" column="qu_id" />
|
||||
<result property="sort" column="sort" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectEducationPaperQuVo">
|
||||
select paper_id, qu_id, sort from education_paper_qu
|
||||
</sql>
|
||||
<select id="selectPaperQuListByPaperId" resultMap="EducationPaperQuResult">
|
||||
<include refid="selectEducationPaperQuVo"/>
|
||||
where paper_id = #{paperId}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user