package com.luozhihui.project.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import com.luozhihui.project.entity.User;

import java.util.List;

public interface UserLoginMapper {

        //    登录账号
        @Select("select  * from  `user` where `phone`=#{phone}")
        List<User> findByPhone(@Param("phone") String phone);

        @Select("select * from  `car` where `CarId`=#{CarId}")
        List<User> FindUserById(Integer UserId);
}
