1.修复找回密码错误问题

zhairh
x_z 3 years ago
parent b1d00997e2
commit 047a9d3413

@ -3,6 +3,7 @@ package com.glxp.sale.admin.dao.auth;
import com.glxp.sale.admin.entity.auth.UserRegisterEntity;
import com.glxp.sale.admin.req.auth.UserResisterFilterRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@ -19,7 +20,7 @@ public interface UserRegisterDao {
UserRegisterEntity selectById(Integer id);
UserRegisterEntity selectByCustomerId(Long id);
UserRegisterEntity selectByCustomerId(@Param("userId") Long userId);
UserRegisterEntity selectByMobile(String phone);

@ -86,11 +86,11 @@
WHERE mobile = #{phone}
</select>
<select id="selectByCustomerId" parameterType="java.lang.String"
<select id="selectByCustomerId" parameterType="java.lang.Long"
resultType="com.glxp.sale.admin.entity.auth.UserRegisterEntity">
SELECT *
FROM user_register
WHERE userId = #{userId}
WHERE userId = #{userId,jdbcType=BIGINT}
</select>
<select id="isExit" parameterType="java.lang.String" resultType="java.lang.String">

Loading…
Cancel
Save