智慧保安后台管理-外网项目备份
zrj
2024-07-12 10a22a0770c52bbabbf5fa8a28fefd8a42035baa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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="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>