17 lines
305 B
Java
17 lines
305 B
Java
package io.dao;
|
|
|
|
import io.common.dao.BaseDao;
|
|
import io.entity.UserEntity;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
/**
|
|
* 用户
|
|
*
|
|
*/
|
|
@Mapper
|
|
public interface UserDao extends BaseDao<UserEntity> {
|
|
UserEntity getUserByUsername(String username);
|
|
|
|
UserEntity getUserByUserId(Long userId);
|
|
}
|