init
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?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 = 0
|
||||
<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>
|
||||
Reference in New Issue
Block a user