#
Junjie
4 天以前 f98c8bc665875e1e7795a332d8d0e7fd9e50fda1
src/main/java/com/zy/system/mapper/UserMapper.java
@@ -3,10 +3,16 @@
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);
}