智慧保安后台管理-外网项目备份
zhongrj
2023-09-17 8853292babb2ad94de4a3207966f1e83b767cd2d
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.health.mapper.HealthCardMapper">
 
    <!--自定义查询健康证分页数据-->
    <select id="selectHealthCardPage" resultType="org.springblade.modules.health.vo.HealthCardVO">
        select * from sys_health_card
        where 1=1
        <if test="healthCard.userId!=null">
            and user_id = #{extra.userId}
        </if>
    </select>
 
</mapper>