package com.hzz.dao; import com.hzz.domain.Human; import com.hzz.domain.User; import java.util.List; import java.util.Set; /** * Created by Louie on 2017-03-22. */ public interface UserDao { /** * 根据用户名查询用户 * @param userName * @return */ User selectUserByUserName(String userName); /** * 根据用户名查询角色信息 * @param userName * @return */ Set<String> selectRolesByUserName(String userName); /** * 根据用户名查询权限信息 * @param userName * @return */ Set<String> selectPermissionByUserName(String userName); /** * 查询所有human * @return */ List<Human> selectAll(); /** * 新增human * @param human */ void insertHuman(Human human); /** * 修改human * @param human */ void updateHuman(Human human); /** * 删除human * @param id */ void deleteHuman(int id); /** * 根据id查询Human * @param id * @return */ Human queryById(int id); }
最近下载更多
最近浏览更多
fire1234 LV2
3月5日
xxg634460601 LV3
2月22日
xuweiwowzy LV5
1月14日
minjing123 LV8
1月4日
wwewww LV4
2023年11月2日
ewan007 LV29
2023年7月5日
6389181 LV7
2023年6月1日
Sleachp LV8
2023年5月5日
2214367198 LV4
2023年3月28日
Wu_大花 LV1
2023年3月26日