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