<?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="org.springblade.modules.exam.mapper.ExaminationNoteMapper">
|
|
<select id="getPage" resultType="org.springblade.modules.exam.vo.ExaminationNoteVO">
|
|
SELECT * FROM exam_examination_note where is_deleted = 0
|
|
</select>
|
|
<select id="getDetail" resultType="org.springblade.modules.exam.vo.ExaminationNoteVO">
|
SELECT * FROM exam_examination_note where is_deleted = 0
|
<if test="vo.id != null and vo.id != ''">
|
AND vo.id = #{vo.id}
|
</if>
|
</select>
|
|
<select id="getDpDetail" resultType="org.springblade.modules.exam.vo.ExaminationNoteVO">
|
SELECT * FROM exam_examination_note where is_deleted = 0 order by update_time limit 1
|
</select>
|
</mapper>
|