基于WEB的案件信息查询与分析系统设计,java项目设计

基于WEB的案件信息查询与分析系统设计登录注册界面

基于WEB的案件信息查询与分析系统设计mysql数据库版本源码:

超级管理员表创建语句如下:


create table t_admin(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '超级管理员账号',
	password varchar(100) comment '超级管理员密码'
) comment '超级管理员';
insert into t_admin(username,password) values('admin','123456');

案件表创建语句如下:


create table t_aj(
	id int primary key auto_increment comment '主键',
	szId int comment '发布人',
	capId int comment '处理民警',
	ajName varchar(100) comment '',
	v1 varchar(100) comment '人员',
	v2 varchar(100) comment '性别',
	v3 varchar(100) comment '地点',
	v4 varchar(100) comment '时间',
	v5 varchar(100) comment '身份证',
	v6 varchar(100) comment '主要事件',
	v7 varchar(100) comment '备注',
	status varchar(100) comment '状态',
	types varchar(100) comment ''
) comment '案件';

民警表创建语句如下:


create table t_cap(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	capName varchar(100) comment '民警名称',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	address varchar(100) comment '地址'
) comment '民警';

通知表创建语句如下:


create table t_message(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '通知标题',
	content varchar(100) comment '内容',
	pic varchar(100) comment '图片',
	showDate varchar(100) comment '日期'
) comment '通知';

所长表创建语句如下:


create table t_sz(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	szName varchar(100) comment '所长名称',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	address varchar(100) comment '地址'
) comment '所长';

基于WEB的案件信息查询与分析系统设计oracle数据库版本源码:

超级管理员表创建语句如下:


create table t_admin(
	id integer,
	username varchar(100),
	password varchar(100)
);
insert into t_admin(id,username,password) values(1,'admin','123456');
--超级管理员字段加注释
comment on column t_admin.id is '主键';
comment on column t_admin.username is '超级管理员账号';
comment on column t_admin.password is '超级管理员密码';
--超级管理员表加注释
comment on table t_admin is '超级管理员';

案件表创建语句如下:


create table t_aj(
	id integer,
	szId int,
	capId int,
	ajName varchar(100),
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	v6 varchar(100),
	v7 varchar(100),
	status varchar(100),
	types varchar(100)
);
--案件字段加注释
comment on column t_aj.id is '主键';
comment on column t_aj.szId is '发布人';
comment on column t_aj.capId is '处理民警';
comment on column t_aj.ajName is '';
comment on column t_aj.v1 is '人员';
comment on column t_aj.v2 is '性别';
comment on column t_aj.v3 is '地点';
comment on column t_aj.v4 is '时间';
comment on column t_aj.v5 is '身份证';
comment on column t_aj.v6 is '主要事件';
comment on column t_aj.v7 is '备注';
comment on column t_aj.status is '状态';
comment on column t_aj.types is '';
--案件表加注释
comment on table t_aj is '案件';

民警表创建语句如下:


create table t_cap(
	id integer,
	username varchar(100),
	password varchar(100),
	capName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	address varchar(100)
);
--民警字段加注释
comment on column t_cap.id is '主键';
comment on column t_cap.username is '账号';
comment on column t_cap.password is '密码';
comment on column t_cap.capName is '民警名称';
comment on column t_cap.age is '年龄';
comment on column t_cap.sex is '性别';
comment on column t_cap.phone is '电话';
comment on column t_cap.address is '地址';
--民警表加注释
comment on table t_cap is '民警';

通知表创建语句如下:


create table t_message(
	id integer,
	title varchar(100),
	content varchar(100),
	pic varchar(100),
	showDate varchar(100)
);
--通知字段加注释
comment on column t_message.id is '主键';
comment on column t_message.title is '通知标题';
comment on column t_message.content is '内容';
comment on column t_message.pic is '图片';
comment on column t_message.showDate is '日期';
--通知表加注释
comment on table t_message is '通知';

所长表创建语句如下:


create table t_sz(
	id integer,
	username varchar(100),
	password varchar(100),
	szName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	address varchar(100)
);
--所长字段加注释
comment on column t_sz.id is '主键';
comment on column t_sz.username is '账号';
comment on column t_sz.password is '密码';
comment on column t_sz.szName is '所长名称';
comment on column t_sz.age is '年龄';
comment on column t_sz.sex is '性别';
comment on column t_sz.phone is '电话';
comment on column t_sz.address is '地址';
--所长表加注释
comment on table t_sz is '所长';

oracle特有,对应序列如下:


create sequence s_t_aj;
create sequence s_t_cap;
create sequence s_t_message;
create sequence s_t_sz;

基于WEB的案件信息查询与分析系统设计sqlserver数据库版本源码:

超级管理员表创建语句如下:


--超级管理员
create table t_admin(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--超级管理员账号
	password varchar(100)--超级管理员密码
);
insert into t_admin(username,password) values('admin','123456');

案件表创建语句如下:


--案件表注释
create table t_aj(
	id int identity(1,1) primary key not null,--主键
	szId int,--发布人
	capId int,--处理民警
	ajName varchar(100),--
	v1 varchar(100),--人员
	v2 varchar(100),--性别
	v3 varchar(100),--地点
	v4 varchar(100),--时间
	v5 varchar(100),--身份证
	v6 varchar(100),--主要事件
	v7 varchar(100),--备注
	status varchar(100),--状态
	types varchar(100)--
);

民警表创建语句如下:


--民警表注释
create table t_cap(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	capName varchar(100),--民警名称
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	address varchar(100)--地址
);

通知表创建语句如下:


--通知表注释
create table t_message(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--通知标题
	content varchar(100),--内容
	pic varchar(100),--图片
	showDate varchar(100)--日期
);

所长表创建语句如下:


--所长表注释
create table t_sz(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	szName varchar(100),--所长名称
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	address varchar(100)--地址
);

基于WEB的案件信息查询与分析系统设计登录后主页

基于WEB的案件信息查询与分析系统设计spring+springMVC+hibernate框架对象(javaBean,pojo)设计:

案件javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//案件
@Table(name = "t_aj")
public class Aj {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//发布人
private Integer szId;
//处理民警
private Integer capId;
//
private String ajName;
//人员
private String v1;
//性别
private String v2;
//地点
private String v3;
//时间
private String v4;
//身份证
private String v5;
//主要事件
private String v6;
//备注
private String v7;
//状态
private String status;
//
private String types;
public Integer getSzId() {return szId;}
public void setSzId(Integer szId) {this.szId = szId;}
public Integer getCapId() {return capId;}
public void setCapId(Integer capId) {this.capId = capId;}
public String getAjName() {return ajName;}
public void setAjName(String ajName) {this.ajName = ajName;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
}

民警javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//民警
@Table(name = "t_cap")
public class Cap {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//民警名称
private String capName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//地址
private String address;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getCapName() {return capName;}
public void setCapName(String capName) {this.capName = capName;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
}

通知javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//通知
@Table(name = "t_message")
public class Message {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//通知标题
private String title;
//内容
private String content;
//图片
private String pic;
//日期
private String showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
}

所长javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//所长
@Table(name = "t_sz")
public class Sz {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//所长名称
private String szName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//地址
private String address;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getSzName() {return szName;}
public void setSzName(String szName) {this.szName = szName;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
}

基于WEB的案件信息查询与分析系统设计spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

案件javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//案件
public class Aj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//发布人
private Integer szId;
//处理民警
private Integer capId;
//
private String ajName;
//人员
private String v1;
//性别
private String v2;
//地点
private String v3;
//时间
private String v4;
//身份证
private String v5;
//主要事件
private String v6;
//备注
private String v7;
//状态
private String status;
//
private String types;
public Integer getSzId() {return szId;}
public void setSzId(Integer szId) {this.szId = szId;}
public Integer getCapId() {return capId;}
public void setCapId(Integer capId) {this.capId = capId;}
public String getAjName() {return ajName;}
public void setAjName(String ajName) {this.ajName = ajName;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
}

民警javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//民警
public class Cap  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//民警名称
private String capName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//地址
private String address;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getCapName() {return capName;}
public void setCapName(String capName) {this.capName = capName;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
}

通知javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//通知
public class Message  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//通知标题
private String title;
//内容
private String content;
//图片
private String pic;
//日期
private String showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
}

所长javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//所长
public class Sz  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//所长名称
private String szName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//地址
private String address;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getSzName() {return szName;}
public void setSzName(String szName) {this.szName = szName;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
}

评论