提交 2318bb9c authored 作者: luojie's avatar luojie

修复用户邮箱

上级 ab9f0ce7
...@@ -215,8 +215,7 @@ ...@@ -215,8 +215,7 @@
<!--根据userId 账号 email 查找用户--> <!--根据userId 账号 email 查找用户-->
<select id="findByEmail" resultType="com.diaoyun.zion.chinafrica.entity.TbCfUserInfoEntity"> <select id="findByEmail" resultType="com.diaoyun.zion.chinafrica.entity.TbCfUserInfoEntity">
select * from tb_cf_user_info where enable_flag=1 and (user_id=#{userId} or account=#{account} select * from tb_cf_user_info where enable_flag=1 and account=#{email} or email =#{email};
or email =#{email} or nick =#{account});
</select> </select>
<!--修改密码--> <!--修改密码-->
<update id="updatePassWord" > <update id="updatePassWord" >
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论