#
Junjie
4 天以前 1b8a4677f362d234d834120deac4880d7ae89a50
src/main/java/com/zy/system/mapper/UserMapper.java
@@ -1,12 +1,18 @@
package com.zy.system.mapper;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zy.system.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
@Mapper
@Repository
public interface UserMapper extends BaseMapper<User> {
    User selectByMobileWithSecurity(@Param("mobile") String mobile);
    User selectByIdWithSecurity(@Param("id") Long id);
    User selectByPasskeyCredentialId(@Param("credentialId") String credentialId);
}