注册用户

This commit is contained in:
2023-12-20 22:06:44 +08:00
parent 09165ec608
commit 745a9cb669
7 changed files with 121 additions and 5 deletions

View File

@@ -144,4 +144,20 @@
role_id = #{roleId,jdbcType=TINYINT}
where id = #{id,jdbcType=INTEGER}
</update>
<select id="selectByEmail" parameterType="java.lang.String" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from ln_user
where user_email = #{user_email,jdbcType=VARCHAR}
</select>
<select id="selectByUserLogin" parameterType="java.lang.String" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from ln_user
where user_email = #{user_login,jdbcType=VARCHAR}
</select>
</mapper>