IDEA整合SSM,并使用PageHelper实现分页功能

使用到的技术:
  • Spring、SpringMVC、Mybatis
  • Maven
  • MySQL
  • Bootstrap
  • PageHelper
准备工作:
  1. 创建一个Maven项目,选择webapp
    IDEA整合SSM,并使用PageHelper实现分页功能_第1张图片
  2. 在pom文件中添加所需依赖




    4.0.0
    war

    test
    com.youngpain
    test
    1.0-SNAPSHOT

    
        
            
                org.mybatis.generator
                mybatis-generator-maven-plugin
                1.3.5
                
                    src/main/resources/generatorConfig.xml
                    true
                    true
                
                
                    
                        Generate MyBatis Artifacts
                        
                            generate
                        
                    
                
                
                    
                        mysql
                        mysql-connector-java
                        8.0.11
                    
                
            
        
    

    
        
        
            org.springframework
            spring-webmvc
            5.1.0.RELEASE
        
        
        
            org.springframework
            spring-jdbc
            5.1.0.RELEASE
        
        
        
            org.springframework
            spring-aspects
            5.1.0.RELEASE
        
        
        
            org.springframework
            spring-test
            5.1.0.RELEASE
            test
        
        
        
            org.mybatis
            mybatis
            3.4.6
        
        
        
            org.mybatis
            mybatis-spring
            1.3.2
        
        
        
            org.mybatis.generator
            mybatis-generator-core
            1.3.5
        
        
        
            com.github.pagehelper
            pagehelper
            5.1.2
        
        
        
            com.mchange
            c3p0
            0.9.5.2
        
        
        
            mysql
            mysql-connector-java
            8.0.11
        
        
        
            javax.servlet
            jstl
            1.2
        
        
        
            junit
            junit
            4.12
            test
        
        
        
            javax.servlet
            javax.servlet-api
            3.1.0
            provided
        
    
    

  1. 配置web.xml



    
    
        contextConfigLocation
        classpath:applicationContext.xml
    

    
    
        org.springframework.web.context.ContextLoaderListener
    

    
    
        spring-mvc
        org.springframework.web.servlet.DispatcherServlet
        
            contextConfigLocation
            classpath:spring-mvc.xml
        
        1
    

    
    
        spring-mvc
        /
    

    
    
        characterEncodingFilter
        org.springframework.web.filter.CharacterEncodingFilter
        
            encoding
            utf-8
        
        
            forceRequestEncoding
            true
        
        
            forceResponseEncoding
            true
        
    
    
        characterEncodingFilter
        /*
    

    
    
        hiddenHttpMethodFilter
        org.springframework.web.filter.HiddenHttpMethodFilter
    
    
        hiddenHttpMethodFilter
        /*
    


  1. 配置spring-mvc.xml



    
    
    

    
    
        
        
    

    
    

    
    


  1. 创建数据库配置文件jdbc.properties
jdbc.url=jdbc:mysql://localhost:3306/hospitalonline?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8
jdbc.driverClass=com.mysql.jdbc.Driver
jdbc.username=root
jdbc.password=1741248769
  1. 配置mybatis-conf.xml




    
    
        
    

    
    
        
    

    
    
        
    


  1. 配置applicationContext.xml



    
    
        
    

    
    

    
    

    
    
        
        
        
        
    

    
    
        
    

    
    
        
        
        
    

    
    
        
            
            
            
            
        
    

    
    
        
        
        
        
        
        
    

    
    
        
        
    


  1. 创建generatorConfig.xml文件





    
        
        
            
        
        
        
        

        
            
        

        
        
            
            
        

        
        
            
        

        
        
            
        

        
        
  1. 点击Edit Configuration添加tomcat和maven,在maven命令行中输入mybatis-generator:generate自动生成model、mapper接口和文件
    IDEA整合SSM,并使用PageHelper实现分页功能_第2张图片
  2. 生成对应的文件
    IDEA整合SSM,并使用PageHelper实现分页功能_第3张图片
  3. 创建Controller
package com.youngpain.controller;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.youngpain.entity.Order;
import com.youngpain.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @ClassName OrderController
 * @Author pain
 * @Date 2018/10/6 14:52
 * @Version 1.0
 **/
@Controller
public class OrderController {

    @Autowired
    OrderService orderService;

    //显示所有的预约信息
    @GetMapping("/orders")
    public String getOrders(@RequestParam(value = "page", defaultValue = "1") Integer page, Model model) {
        //获取指定页数据,大小为8
        PageHelper.startPage(page, 8);
        //紧跟的第一个select方法被分页
        List orders = orderService.listOrders();
        //使用PageInfo包装数据
        PageInfo pageInfo = new PageInfo(orders, 5);
        model.addAttribute("pageInfo", pageInfo);
        return "order_list";
    }

}
  1. 创建jsp页面负责显示数据,实现分页效果
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%--引入标签--%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>



    
    预约信息
    <%
        pageContext.setAttribute("BASE_PATH", request.getContextPath());
    %>
    
    
    
    
    


预约详细信息

预约号 预约时间 医院 科室 医生姓名 患者姓名 患者性别 患者联系方式 操作
${orders.id} ${orders.orderDate} ${orders.doctor.dHospital} ${orders.doctor.dDepartment} ${orders.doctor.dName} ${orders.patient.pName} ${orders.patient.pGender=="m"?"男":"女"} ${orders.patient.pPhone}
第${pageInfo.pageNum}页,共${pageInfo.pages}页,共${pageInfo.total}条记录
  1. 在浏览器中请求页面,分页功能可正常使用(为节省时间,只实现了查询功能,增删改可根据mapper接口自行实现)
    IDEA整合SSM,并使用PageHelper实现分页功能_第4张图片
忘记sql文件了
/*
 Navicat Premium Data Transfer

 Source Server         : pain
 Source Server Type    : MySQL
 Source Server Version : 80011
 Source Host           : localhost:3306
 Source Schema         : hospitalonline

 Target Server Type    : MySQL
 Target Server Version : 80011
 File Encoding         : 65001

 Date: 06/10/2018 18:11:35
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for doctoruser
-- ----------------------------
DROP TABLE IF EXISTS `doctoruser`;
CREATE TABLE `doctoruser`  (
  `d_id` int(11) NOT NULL AUTO_INCREMENT,
  `d_age` int(11) NULL DEFAULT NULL,
  `d_department` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `d_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `d_gender` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `d_hospital` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `d_password` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  PRIMARY KEY (`d_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1002 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of doctoruser
-- ----------------------------
INSERT INTO `doctoruser` VALUES (1001, 21, '内科', '张三', 'm', '安徽省人民医院', '123456');

-- ----------------------------
-- Table structure for orders
-- ----------------------------
DROP TABLE IF EXISTS `orders`;
CREATE TABLE `orders`  (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `order_date` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `order_status` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `patient_id` int(11) NULL DEFAULT NULL,
  `doctor_id` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `fk_d_id`(`doctor_id`) USING BTREE,
  INDEX `fk_p_id`(`patient_id`) USING BTREE,
  CONSTRAINT `fk_d_id` FOREIGN KEY (`doctor_id`) REFERENCES `doctoruser` (`d_id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `fk_p_id` FOREIGN KEY (`patient_id`) REFERENCES `patientuser` (`p_id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 100 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of orders
-- ----------------------------
INSERT INTO `orders` VALUES (1, '2018-10-06 08:00', '待处理', 1, 1001);
INSERT INTO `orders` VALUES (2, '2018-10-06 08:00', '待处理', 2, 1001);
INSERT INTO `orders` VALUES (3, '2018-10-06 08:00', '待处理', 3, 1001);
INSERT INTO `orders` VALUES (4, '2018-10-06 08:00', '待处理', 4, 1001);
INSERT INTO `orders` VALUES (5, '2018-10-06 08:00', '待处理', 5, 1001);
INSERT INTO `orders` VALUES (6, '2018-10-06 08:00', '待处理', 6, 1001);
INSERT INTO `orders` VALUES (7, '2018-10-06 08:00', '待处理', 7, 1001);
INSERT INTO `orders` VALUES (8, '2018-10-06 08:00', '待处理', 8, 1001);
INSERT INTO `orders` VALUES (9, '2018-10-06 08:00', '待处理', 9, 1001);
INSERT INTO `orders` VALUES (10, '2018-10-06 08:00', '待处理', 10, 1001);
INSERT INTO `orders` VALUES (11, '2018-10-06 08:00', '待处理', 11, 1001);
INSERT INTO `orders` VALUES (12, '2018-10-06 08:00', '待处理', 12, 1001);
INSERT INTO `orders` VALUES (13, '2018-10-06 08:00', '待处理', 13, 1001);
INSERT INTO `orders` VALUES (14, '2018-06-18 10:00', '已接受', 1291476018, 1001);
INSERT INTO `orders` VALUES (15, '2018-06-18 10:00', '已接受', 1291476018, 1001);
INSERT INTO `orders` VALUES (16, '2018-06-08 10:00', '已接受', 1291476018, 1001);
INSERT INTO `orders` VALUES (17, '2018-06-18 10:00', '已接受', 1291476018, 1001);
INSERT INTO `orders` VALUES (18, '2018-06-18 10:00', '待处理', 1291476018, 1001);
INSERT INTO `orders` VALUES (19, '2018-10-06 10:00', '待处理', 19, 1001);
INSERT INTO `orders` VALUES (20, '2018-10-06 10:00', '待处理', 20, 1001);
INSERT INTO `orders` VALUES (21, '2018-10-06 10:00', '待处理', 21, 1001);
INSERT INTO `orders` VALUES (22, '2018-10-06 10:00', '待处理', 22, 1001);
INSERT INTO `orders` VALUES (23, '2018-10-06 10:00', '待处理', 23, 1001);
INSERT INTO `orders` VALUES (24, '2018-10-06 10:00', '待处理', 24, 1001);
INSERT INTO `orders` VALUES (25, '2018-10-06 10:00', '待处理', 25, 1001);
INSERT INTO `orders` VALUES (26, '2018-10-06 10:00', '待处理', 26, 1001);
INSERT INTO `orders` VALUES (27, '2018-10-06 10:00', '待处理', 27, 1001);
INSERT INTO `orders` VALUES (28, '2018-10-06 10:00', '待处理', 28, 1001);
INSERT INTO `orders` VALUES (29, '2018-10-06 10:00', '待处理', 29, 1001);
INSERT INTO `orders` VALUES (30, '2018-10-06 10:00', '待处理', 30, 1001);
INSERT INTO `orders` VALUES (31, '2018-10-06 10:00', '待处理', 31, 1001);
INSERT INTO `orders` VALUES (32, '2018-10-06 10:00', '待处理', 32, 1001);
INSERT INTO `orders` VALUES (33, '2018-10-06 10:00', '待处理', 33, 1001);
INSERT INTO `orders` VALUES (34, '2018-10-06 10:00', '待处理', 34, 1001);
INSERT INTO `orders` VALUES (35, '2018-10-06 10:00', '待处理', 35, 1001);
INSERT INTO `orders` VALUES (36, '2018-10-06 10:00', '待处理', 36, 1001);
INSERT INTO `orders` VALUES (37, '2018-10-06 10:00', '待处理', 37, 1001);
INSERT INTO `orders` VALUES (38, '2018-10-06 10:00', '待处理', 38, 1001);
INSERT INTO `orders` VALUES (39, '2018-10-06 10:00', '待处理', 39, 1001);
INSERT INTO `orders` VALUES (40, '2018-10-06 10:00', '待处理', 40, 1001);
INSERT INTO `orders` VALUES (41, '2018-10-06 10:00', '待处理', 41, 1001);
INSERT INTO `orders` VALUES (42, '2018-10-06 10:00', '待处理', 42, 1001);
INSERT INTO `orders` VALUES (43, '2018-10-06 10:00', '待处理', 43, 1001);
INSERT INTO `orders` VALUES (44, '2018-10-06 10:00', '待处理', 44, 1001);
INSERT INTO `orders` VALUES (45, '2018-10-06 10:00', '待处理', 45, 1001);
INSERT INTO `orders` VALUES (46, '2018-10-06 10:00', '待处理', 46, 1001);
INSERT INTO `orders` VALUES (47, '2018-10-06 10:00', '待处理', 47, 1001);
INSERT INTO `orders` VALUES (48, '2018-10-06 10:00', '待处理', 48, 1001);
INSERT INTO `orders` VALUES (49, '2018-10-06 10:00', '待处理', 49, 1001);
INSERT INTO `orders` VALUES (50, '2018-10-06 10:00', '待处理', 50, 1001);
INSERT INTO `orders` VALUES (51, '2018-10-06 10:00', '待处理', 51, 1001);
INSERT INTO `orders` VALUES (52, '2018-10-06 10:00', '待处理', 52, 1001);
INSERT INTO `orders` VALUES (53, '2018-10-06 10:00', '待处理', 53, 1001);
INSERT INTO `orders` VALUES (54, '2018-10-06 10:00', '待处理', 54, 1001);
INSERT INTO `orders` VALUES (55, '2018-10-06 10:00', '待处理', 55, 1001);
INSERT INTO `orders` VALUES (56, '2018-10-06 10:00', '待处理', 56, 1001);
INSERT INTO `orders` VALUES (57, '2018-10-06 10:00', '待处理', 57, 1001);
INSERT INTO `orders` VALUES (58, '2018-10-06 10:00', '待处理', 58, 1001);
INSERT INTO `orders` VALUES (59, '2018-10-06 10:00', '待处理', 59, 1001);
INSERT INTO `orders` VALUES (60, '2018-10-06 10:00', '待处理', 60, 1001);
INSERT INTO `orders` VALUES (61, '2018-10-06 10:00', '待处理', 61, 1001);
INSERT INTO `orders` VALUES (62, '2018-10-06 10:00', '待处理', 62, 1001);
INSERT INTO `orders` VALUES (63, '2018-10-06 10:00', '待处理', 63, 1001);
INSERT INTO `orders` VALUES (64, '2018-10-06 10:00', '待处理', 64, 1001);
INSERT INTO `orders` VALUES (65, '2018-10-06 10:00', '待处理', 65, 1001);
INSERT INTO `orders` VALUES (66, '2018-10-06 10:00', '待处理', 66, 1001);
INSERT INTO `orders` VALUES (67, '2018-10-06 10:00', '待处理', 67, 1001);
INSERT INTO `orders` VALUES (68, '2018-10-06 10:00', '待处理', 68, 1001);
INSERT INTO `orders` VALUES (69, '2018-10-06 10:00', '待处理', 69, 1001);
INSERT INTO `orders` VALUES (70, '2018-10-06 10:00', '待处理', 70, 1001);
INSERT INTO `orders` VALUES (71, '2018-10-06 10:00', '待处理', 71, 1001);
INSERT INTO `orders` VALUES (72, '2018-10-06 10:00', '待处理', 72, 1001);
INSERT INTO `orders` VALUES (73, '2018-10-06 10:00', '待处理', 73, 1001);
INSERT INTO `orders` VALUES (74, '2018-10-06 10:00', '待处理', 74, 1001);
INSERT INTO `orders` VALUES (75, '2018-10-06 10:00', '待处理', 75, 1001);
INSERT INTO `orders` VALUES (76, '2018-10-06 10:00', '待处理', 76, 1001);
INSERT INTO `orders` VALUES (77, '2018-10-06 10:00', '待处理', 77, 1001);
INSERT INTO `orders` VALUES (78, '2018-10-06 10:00', '待处理', 78, 1001);
INSERT INTO `orders` VALUES (79, '2018-10-06 10:00', '待处理', 79, 1001);
INSERT INTO `orders` VALUES (80, '2018-10-06 10:00', '待处理', 80, 1001);
INSERT INTO `orders` VALUES (81, '2018-10-06 10:00', '待处理', 81, 1001);
INSERT INTO `orders` VALUES (82, '2018-10-06 10:00', '待处理', 82, 1001);
INSERT INTO `orders` VALUES (83, '2018-10-06 10:00', '待处理', 83, 1001);
INSERT INTO `orders` VALUES (84, '2018-10-06 10:00', '待处理', 84, 1001);
INSERT INTO `orders` VALUES (85, '2018-10-06 10:00', '待处理', 85, 1001);
INSERT INTO `orders` VALUES (86, '2018-10-06 10:00', '待处理', 86, 1001);
INSERT INTO `orders` VALUES (87, '2018-10-06 10:00', '待处理', 87, 1001);
INSERT INTO `orders` VALUES (88, '2018-10-06 10:00', '待处理', 88, 1001);
INSERT INTO `orders` VALUES (89, '2018-10-06 10:00', '待处理', 89, 1001);
INSERT INTO `orders` VALUES (90, '2018-10-06 10:00', '待处理', 90, 1001);
INSERT INTO `orders` VALUES (91, '2018-10-06 10:00', '待处理', 91, 1001);
INSERT INTO `orders` VALUES (92, '2018-10-06 10:00', '待处理', 92, 1001);
INSERT INTO `orders` VALUES (93, '2018-10-06 10:00', '待处理', 93, 1001);
INSERT INTO `orders` VALUES (94, '2018-10-06 10:00', '待处理', 94, 1001);
INSERT INTO `orders` VALUES (95, '2018-10-06 10:00', '待处理', 95, 1001);
INSERT INTO `orders` VALUES (96, '2018-10-06 10:00', '待处理', 96, 1001);
INSERT INTO `orders` VALUES (97, '2018-10-06 10:00', '待处理', 97, 1001);
INSERT INTO `orders` VALUES (98, '2018-10-06 10:00', '待处理', 98, 1001);
INSERT INTO `orders` VALUES (99, '2018-10-06 10:00', '待处理', 99, 1001);

-- ----------------------------
-- Table structure for patientuser
-- ----------------------------
DROP TABLE IF EXISTS `patientuser`;
CREATE TABLE `patientuser`  (
  `p_id` int(11) NOT NULL AUTO_INCREMENT,
  `p_age` int(11) NULL DEFAULT NULL,
  `p_gender` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `p_password` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `p_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `p_phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  PRIMARY KEY (`p_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1291476019 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of patientuser
-- ----------------------------
INSERT INTO `patientuser` VALUES (1, 22, 'm', '12345', '小美', '12222222222');
INSERT INTO `patientuser` VALUES (2, 22, 'm', '12345', '小美', '12222222222');
INSERT INTO `patientuser` VALUES (3, 22, 'm', '12345', '小美', '12222222222');
INSERT INTO `patientuser` VALUES (4, 22, 'm', '12345', '小美', '12222222222');
INSERT INTO `patientuser` VALUES (5, 22, 'm', '12345', '小美', '12222222222');
INSERT INTO `patientuser` VALUES (6, 22, 'm', '12345', '小美', '12222222222');
INSERT INTO `patientuser` VALUES (7, 22, 'm', '12345', '小美', '12222222222');
INSERT INTO `patientuser` VALUES (8, 22, 'm', '12345', '小美', '12222222222');
INSERT INTO `patientuser` VALUES (9, 22, 'm', '12345', '小美', '12222222222');
INSERT INTO `patientuser` VALUES (10, 22, 'm', '12345', '小美', '12222222222');
INSERT INTO `patientuser` VALUES (11, 22, 'm', '12345', '小美', '12222222222');
INSERT INTO `patientuser` VALUES (12, 22, 'm', '12345', '小美', '12222222222');
INSERT INTO `patientuser` VALUES (13, 22, 'm', '12345', '小美', '12222222222');
INSERT INTO `patientuser` VALUES (14, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (15, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (16, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (17, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (18, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (19, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (20, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (21, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (22, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (23, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (24, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (25, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (26, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (27, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (28, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (29, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (30, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (31, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (32, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (33, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (34, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (35, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (36, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (37, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (38, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (39, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (40, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (41, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (42, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (43, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (44, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (45, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (46, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (47, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (48, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (49, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (50, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (51, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (52, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (53, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (54, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (55, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (56, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (57, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (58, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (59, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (60, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (61, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (62, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (63, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (64, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (65, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (66, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (67, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (68, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (69, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (70, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (71, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (72, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (73, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (74, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (75, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (76, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (77, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (78, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (79, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (80, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (81, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (82, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (83, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (84, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (85, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (86, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (87, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (88, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (89, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (90, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (91, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (92, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (93, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (94, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (95, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (96, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (97, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (98, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (99, 23, 'm', '12345', '小丽', '12222222223');
INSERT INTO `patientuser` VALUES (1291476018, 22, 'f', '1291476018', '小菀', '18756989050');

SET FOREIGN_KEY_CHECKS = 1;

源码:下载

你可能感兴趣的:(Java,SSM)