crud/main/java/com/dao/UserDao.java

20 lines
358 B
Java
Raw Normal View History

2023-05-24 15:00:58 +00:00
package com.dao;
import com.domain.User;
import java.util.List;
public interface UserDao {
List<User> findAll();
Long save(User user);
void saveUserRoleRel(Long id, Long[] roleIds);
void delUserRoleRel(Long userId);
void del(Long userId);
User findByUsernameAndPassword(String username, String password);
}