UserAuthoricationMapper.java 613 B

1234567891011121314151617181920
  1. package com.fuzamei.mapperInterface;
  2. import java.util.List;
  3. import org.apache.ibatis.annotations.Param;
  4. import com.fuzamei.entity.Params;
  5. import com.fuzamei.entity.UserDetail;
  6. public interface UserAuthoricationMapper {
  7. UserDetail queryUserDetail(Integer userId);//查询最详细的用户信息
  8. UserDetail queryUserAuthority(Integer userId);//查询简单用户信息
  9. List<UserDetail> showAllCarriersUnderSupplier();//查询所有承运商信息
  10. int verificationToken(@Param("userId")int userId, @Param("token") String token);//根据用户id和token值查看用户是否存在
  11. }