Add power to login
This commit is contained in:
@@ -2,6 +2,7 @@ package top.fatweb.api.mapper.permission
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper
|
||||
import org.apache.ibatis.annotations.Mapper
|
||||
import org.apache.ibatis.annotations.Param
|
||||
import top.fatweb.api.entity.permission.User
|
||||
|
||||
/**
|
||||
@@ -13,4 +14,6 @@ import top.fatweb.api.entity.permission.User
|
||||
* @since 2023-10-04
|
||||
*/
|
||||
@Mapper
|
||||
interface UserMapper : BaseMapper<User>
|
||||
interface UserMapper : BaseMapper<User> {
|
||||
fun getOneWithPowerByUsername(@Param("username")username: String): User?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user