基于javaweb+jsp的游泳馆会员管理系统(附源码)

基于javaweb+jsp的游泳馆会员管理系统

JavaWeb JavaBean JSP MVC MySQL Tomcat JavaScript Bootstrap Ajax

基础JSP+Servlet或JSP+SSM(Spring、SpringMVC、MyBatis)框架或JSP+SSM+Maven(pom.xml)框架或SpringBoot…均可

开发工具:eclipse/idea/myeclipse/sts等均可配置运行

适用

课程设计,大作业,毕业设计,项目练习,学习演示等


    public Member get(Serializable id) {
        Member vo = null;
        try {
            Connection c = Util.getConnection();
            Statement s = c.createStatement();
            String sql = "select * from `t_member` where id = " + id;
            ResultSet rs = s.executeQuery(sql);
            if (rs.next()) {
                vo = new Member();
                vo.setId(rs.getLong("id"));
                vo.setMemberName(rs.getString("member_name"));
                vo.setMemberAddress(rs.getString("member_address"));
                vo.setMemberSex(rs.getString("member_sex"));
                vo.setMemberPhone(rs.getString("member_phone"));
                vo.setMemberEmail(rs.getString("member_email"));
                vo.setMemberText(rs.getString("member_text"));
            }
            c.close();