Files
senmesh-zc/src/main/java/com/senmesh/usercenter/user/mapper/UserPhoneThreeVerificationMapper.xml
2026-01-05 16:35:46 +08:00

34 lines
1.0 KiB
XML

<?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="com.senmesh.usercenter.user.dao.UserPhoneThreeVerificationMapper">
<select id="listUserPhoneThreeVerificationDTO" resultType="com.senmesh.usercenter.user.dto.UserPhoneThreeVerificationDTO">
select
*
from uc_user_phone_three_verification
where
deleted = FALSE
<if test="param.id != null">
and id = #{param.id}
</if>
<if test="param.userId != null">
and user_id = #{param.userId}
</if>
<if test="param.realName != null and param.realName != ''">
and real_name = #{param.realName}
</if>
<if test="param.cardNo != null and param.cardNo != ''">
and card_no = #{param.cardNo}
</if>
<if test="param.phone != null and param.phone != ''">
and phone = #{param.phone}
</if>
<if test="param.status != null and param.status != ''">
and status = #{param.status}
</if>
order by id desc
</select>
</mapper>