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); }


dapeng0011 LV15
2024年7月8日
qq970040477 LV24
2024年6月16日
sunlea LV20
2024年5月11日
fire1234 LV2
2024年3月5日
xxg634460601 LV3
2024年2月22日
xuweiwowzy LV5
2024年1月14日
minjing123 LV8
2024年1月4日
wwewww LV4
2023年11月2日
ewan007 LV30
2023年7月5日
6389181 LV7
2023年6月1日