package com.dao; import com.domain.User; import java.util.List; public interface UserDao { List 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); }