|
@@ -168,7 +168,7 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="queryByPhone" resultMap="SysUser">
|
|
|
- select * from sys_user where phone_ = #{phone} LIMIT 1 FOR UPDATE
|
|
|
+ select * from sys_user where phone_ = #{phone} LIMIT 1
|
|
|
</select>
|
|
|
|
|
|
<select id="lockUser" resultType="int">
|
|
@@ -180,7 +180,7 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="queryByPhoneAndClient" resultMap="SysUser">
|
|
|
- select * from sys_user where (phone_ = #{phone} OR username_ = #{phone}) AND user_type_ LIKE CONCAT('%',#{client},'%') LIMIT 1 FOR UPDATE
|
|
|
+ select * from sys_user where (phone_ = #{phone} OR username_ = #{phone}) AND user_type_ LIKE CONCAT('%',#{client},'%') LIMIT 1
|
|
|
</select>
|
|
|
<select id="queryRoleIds" resultType="java.lang.Integer">
|
|
|
SELECT sur.role_id_ FROM employee e
|