智慧保安后台管理-外网项目备份
钟日健
2026-06-01 62eb499b0c969f246d3245d1429a97da4de1ce28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?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.extra.mapper.ExtraMapper">
 
    <!--自定义查询加班分页数据-->
    <select id="selectExtraPage" resultType="org.springblade.modules.extra.vo.ExtraVO">
        select * from sys_extra_work
        where 1=1
        <if test="extra.userId!=null">
            and user_id = #{extra.idCardNo}
        </if>
    </select>
 
</mapper>