6、奖惩管理6.3详细设计1.ResultSetexecuteQuery(String sql)throwsSQLException//执行给定的SQL语句,该语句返回单个ResultSet对象。参数:sql-要发送给数据库的SQL语句,通常为静态SQLSELECT语句;返回:包含给定查询所生成数据的ResultSet对象;永远不能为null;抛出:SQLException-如果发生数据库访问错误,在已关闭的Statement上调用此方法,或者给定SQL语句生成单个ResultSet对象之外的任何其他内容。2.3.主要的方法体:public User login(User user);//登录
7、方法 public Vector findUserAll();//查找所有员工信息 public void backUp(User user);//数据备份 public User recOver();//数据恢复public Vector showUserType();//显示用户种类public Vector showUserTypeMain();//显示用户种类public int upd