public interface UserAuthenticationMapper extends Mapper<UserAuthentication> {
UserAuthentication selectByMobile(String mobile);
}
<mapper namespace="com.kuaibu.user.dao.UserAuthenticationMapper">
<select id="selectByMobile" parameterType="java.lang.String" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from user_authentication
where mobile = #{mobile}
</select>
</mapper>
错误如下:
Invalid bound statement (not found): com.kuaibu.user.dao.UserAuthenticationMapper.selectByMobile
面向未来微服务:熟练掌握Spring Cloud Alibaba
了解课程