You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
375 B
13 lines
375 B
package com.pjb.springbootjjwt.mapper;
|
|
|
|
import com.pjb.springbootjjwt.entity.User;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
|
|
public interface UserMapper {
|
|
User findByUsername(@Param("username") String username);
|
|
User findByUsernameAndId(@Param("username") String username,@Param("app_secret") String Id);
|
|
User findUserById(@Param("app_secret") String Id);
|
|
}
|