智慧保安后台管理-外网
Administrator
2022-06-16 8b375fe00a241b3a769b82fe3dac8d1c9dce8a02
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.vip.mapper.UserVipMapper">
 
    <!--自定义查询用户会员分页数据-->
    <select id="selectUserVipPage" resultType="org.springblade.modules.vip.vo.UserVipVO">
        select * from sys_user_vip
        where 1=1
        <if test="userVip.idCardNo!=null and userVip.idCardNo!=''">
            and id_card_no=#{userVip.idCardNo}
        </if>
    </select>
 
</mapper>