<?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>
|