首页>代码>基于springboot和websocket简单的聊天室>/chat-room-Strong-master/src/main/java/top/wonderheng/chatroom/dao/UserDao.java
package top.wonderheng.chatroom.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import top.wonderheng.chatroom.vo.User;

import java.util.List;


@Repository
public interface UserDao extends JpaRepository<User, Long> {
    User findByUsernameAndPassword(String username, String password);

    List<User> findByUsername(String username);
}
最近下载更多
Xiaobaiya11  LV2 3月4日
admin_z  LV22 2023年12月21日
anninghh  LV1 2023年12月4日
西瓜哥哥  LV4 2023年8月9日
gzryue  LV6 2023年4月25日
天险无涯  LV15 2023年3月20日
微信网友_6393440821071872  LV2 2023年3月17日
zhaoxu123123  LV10 2022年12月4日
xiaoyuer2  LV8 2022年11月22日
万盛拓海  LV2 2022年10月20日
最近浏览更多
xiexin  LV1 4月9日
 LV7 3月29日
Xiaobaiya11  LV2 3月4日
uni-code_0123  LV1 1月31日
YhXyHx523  LV6 2023年12月24日
admin_z  LV22 2023年12月21日
暂无贡献等级
anninghh  LV1 2023年12月4日
skook7  LV2 2023年11月21日
杨最代1  LV5 2023年10月31日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友