|
@@ -242,14 +242,14 @@
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="findUserByMobile" resultType="int">
|
|
<select id="findUserByMobile" resultType="int">
|
|
- select count (1)
|
|
|
|
|
|
+ select count(1)
|
|
FROM user user
|
|
FROM user user
|
|
WHERE user.bindMobile=#{mobile}
|
|
WHERE user.bindMobile=#{mobile}
|
|
<if test="oldUserId !=null and oldUserId !=''">
|
|
<if test="oldUserId !=null and oldUserId !=''">
|
|
and user.userId!=#{oldUserId}
|
|
and user.userId!=#{oldUserId}
|
|
</if>
|
|
</if>
|
|
<if test="userIdentity !=null">
|
|
<if test="userIdentity !=null">
|
|
- and user.userIdentity=#{userIdentity}
|
|
|
|
|
|
+ and user.userIdentity!=#{userIdentity}
|
|
</if>
|
|
</if>
|
|
limit 0,1
|
|
limit 0,1
|
|
</select>
|
|
</select>
|