昆虫分类与检索系统的设计与开发

昆虫分类与检索系统的设计与开发登录注册界面

昆虫分类与检索系统的设计与开发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_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码 ',
	customerName varchar(100) comment '姓名',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	pic varchar(100) comment '头像'
) comment '用户';

科表创建语句如下:


create table t_vk(
	id int primary key auto_increment comment '主键',
	vmId int comment '目',
	vkName varchar(100) comment '目名称',
	vkPic varchar(100) comment '图片',
	vkms varchar(100) comment '描述'
) comment '科';

目表创建语句如下:


create table t_vm(
	id int primary key auto_increment comment '主键',
	vmName varchar(100) comment '目名称',
	vmPic varchar(100) comment '图片',
	vmms varchar(100) comment '描述'
) comment '目';

属表创建语句如下:


create table t_vs(
	id int primary key auto_increment comment '主键',
	vmId int comment '目',
	vkId int comment '科',
	vsName varchar(100) comment '属名称'
) comment '属';

种表创建语句如下:


create table t_vz(
	id int primary key auto_increment comment '主键',
	vmId int comment '目',
	vkId int comment '科',
	vsId int comment '属',
	vzName varchar(100) comment '种名称',
	vzPic varchar(100) comment '图片',
	vmms varchar(100) comment '描述',
	fb varchar(100) comment '分布'
) comment '种';

昆虫分类与检索系统的设计与开发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_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	customerName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	pic varchar(100)
);
--用户字段加注释
comment on column t_customer.id is '主键';
comment on column t_customer.username is '账号';
comment on column t_customer.password is '密码 ';
comment on column t_customer.customerName is '姓名';
comment on column t_customer.age is '年龄';
comment on column t_customer.sex is '性别';
comment on column t_customer.phone is '电话';
comment on column t_customer.pic is '头像';
--用户表加注释
comment on table t_customer is '用户';

科表创建语句如下:


create table t_vk(
	id integer,
	vmId int,
	vkName varchar(100),
	vkPic varchar(100),
	vkms varchar(100)
);
--科字段加注释
comment on column t_vk.id is '主键';
comment on column t_vk.vmId is '目';
comment on column t_vk.vkName is '目名称';
comment on column t_vk.vkPic is '图片';
comment on column t_vk.vkms is '描述';
--科表加注释
comment on table t_vk is '科';

目表创建语句如下:


create table t_vm(
	id integer,
	vmName varchar(100),
	vmPic varchar(100),
	vmms varchar(100)
);
--目字段加注释
comment on column t_vm.id is '主键';
comment on column t_vm.vmName is '目名称';
comment on column t_vm.vmPic is '图片';
comment on column t_vm.vmms is '描述';
--目表加注释
comment on table t_vm is '目';

属表创建语句如下:


create table t_vs(
	id integer,
	vmId int,
	vkId int,
	vsName varchar(100)
);
--属字段加注释
comment on column t_vs.id is '主键';
comment on column t_vs.vmId is '目';
comment on column t_vs.vkId is '科';
comment on column t_vs.vsName is '属名称';
--属表加注释
comment on table t_vs is '属';

种表创建语句如下:


create table t_vz(
	id integer,
	vmId int,
	vkId int,
	vsId int,
	vzName varchar(100),
	vzPic varchar(100),
	vmms varchar(100),
	fb varchar(100)
);
--种字段加注释
comment on column t_vz.id is '主键';
comment on column t_vz.vmId is '目';
comment on column t_vz.vkId is '科';
comment on column t_vz.vsId is '属';
comment on column t_vz.vzName is '种名称';
comment on column t_vz.vzPic is '图片';
comment on column t_vz.vmms is '描述';
comment on column t_vz.fb is '分布';
--种表加注释
comment on table t_vz is '种';

oracle特有,对应序列如下:


create sequence s_t_customer;
create sequence s_t_vk;
create sequence s_t_vm;
create sequence s_t_vs;
create sequence s_t_vz;

昆虫分类与检索系统的设计与开发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_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码 
	customerName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	pic varchar(100)--头像
);

科表创建语句如下:


--科表注释
create table t_vk(
	id int identity(1,1) primary key not null,--主键
	vmId int,--目
	vkName varchar(100),--目名称
	vkPic varchar(100),--图片
	vkms varchar(100)--描述
);

目表创建语句如下:


--目表注释
create table t_vm(
	id int identity(1,1) primary key not null,--主键
	vmName varchar(100),--目名称
	vmPic varchar(100),--图片
	vmms varchar(100)--描述
);

属表创建语句如下:


--属表注释
create table t_vs(
	id int identity(1,1) primary key not null,--主键
	vmId int,--目
	vkId int,--科
	vsName varchar(100)--属名称
);

种表创建语句如下:


--种表注释
create table t_vz(
	id int identity(1,1) primary key not null,--主键
	vmId int,--目
	vkId int,--科
	vsId int,--属
	vzName varchar(100),--种名称
	vzPic varchar(100),--图片
	vmms varchar(100),--描述
	fb varchar(100)--分布
);

昆虫分类与检索系统的设计与开发登录后主页

昆虫分类与检索系统的设计与开发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_customer")
public class Customer {
//主键
@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 customerName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//头像
private String pic;
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 getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

科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_vk")
public class Vk {
//主键
@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 vmId;
//目名称
private String vkName;
//图片
private String vkPic;
//描述
private String vkms;
public Integer getVmId() {return vmId;}
public void setVmId(Integer vmId) {this.vmId = vmId;}
public String getVkName() {return vkName;}
public void setVkName(String vkName) {this.vkName = vkName;}
public String getVkPic() {return vkPic;}
public void setVkPic(String vkPic) {this.vkPic = vkPic;}
public String getVkms() {return vkms;}
public void setVkms(String vkms) {this.vkms = vkms;}
}

目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_vm")
public class Vm {
//主键
@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 vmName;
//图片
private String vmPic;
//描述
private String vmms;
public String getVmName() {return vmName;}
public void setVmName(String vmName) {this.vmName = vmName;}
public String getVmPic() {return vmPic;}
public void setVmPic(String vmPic) {this.vmPic = vmPic;}
public String getVmms() {return vmms;}
public void setVmms(String vmms) {this.vmms = vmms;}
}

属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_vs")
public class Vs {
//主键
@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 vmId;
//科
private Integer vkId;
//属名称
private String vsName;
public Integer getVmId() {return vmId;}
public void setVmId(Integer vmId) {this.vmId = vmId;}
public Integer getVkId() {return vkId;}
public void setVkId(Integer vkId) {this.vkId = vkId;}
public String getVsName() {return vsName;}
public void setVsName(String vsName) {this.vsName = vsName;}
}

种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_vz")
public class Vz {
//主键
@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 vmId;
//科
private Integer vkId;
//属
private Integer vsId;
//种名称
private String vzName;
//图片
private String vzPic;
//描述
private String vmms;
//分布
private String fb;
public Integer getVmId() {return vmId;}
public void setVmId(Integer vmId) {this.vmId = vmId;}
public Integer getVkId() {return vkId;}
public void setVkId(Integer vkId) {this.vkId = vkId;}
public Integer getVsId() {return vsId;}
public void setVsId(Integer vsId) {this.vsId = vsId;}
public String getVzName() {return vzName;}
public void setVzName(String vzName) {this.vzName = vzName;}
public String getVzPic() {return vzPic;}
public void setVzPic(String vzPic) {this.vzPic = vzPic;}
public String getVmms() {return vmms;}
public void setVmms(String vmms) {this.vmms = vmms;}
public String getFb() {return fb;}
public void setFb(String fb) {this.fb = fb;}
}

昆虫分类与检索系统的设计与开发spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

用户javaBean创建语句如下:


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

//用户
public class Customer  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 customerName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//头像
private String pic;
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 getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

科javaBean创建语句如下:


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

//科
public class Vk  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//目
private Integer vmId;
//目名称
private String vkName;
//图片
private String vkPic;
//描述
private String vkms;
public Integer getVmId() {return vmId;}
public void setVmId(Integer vmId) {this.vmId = vmId;}
public String getVkName() {return vkName;}
public void setVkName(String vkName) {this.vkName = vkName;}
public String getVkPic() {return vkPic;}
public void setVkPic(String vkPic) {this.vkPic = vkPic;}
public String getVkms() {return vkms;}
public void setVkms(String vkms) {this.vkms = vkms;}
}

目javaBean创建语句如下:


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

//目
public class Vm  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//目名称
private String vmName;
//图片
private String vmPic;
//描述
private String vmms;
public String getVmName() {return vmName;}
public void setVmName(String vmName) {this.vmName = vmName;}
public String getVmPic() {return vmPic;}
public void setVmPic(String vmPic) {this.vmPic = vmPic;}
public String getVmms() {return vmms;}
public void setVmms(String vmms) {this.vmms = vmms;}
}

属javaBean创建语句如下:


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

//属
public class Vs  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//目
private Integer vmId;
//科
private Integer vkId;
//属名称
private String vsName;
public Integer getVmId() {return vmId;}
public void setVmId(Integer vmId) {this.vmId = vmId;}
public Integer getVkId() {return vkId;}
public void setVkId(Integer vkId) {this.vkId = vkId;}
public String getVsName() {return vsName;}
public void setVsName(String vsName) {this.vsName = vsName;}
}

种javaBean创建语句如下:


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

//种
public class Vz  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//目
private Integer vmId;
//科
private Integer vkId;
//属
private Integer vsId;
//种名称
private String vzName;
//图片
private String vzPic;
//描述
private String vmms;
//分布
private String fb;
public Integer getVmId() {return vmId;}
public void setVmId(Integer vmId) {this.vmId = vmId;}
public Integer getVkId() {return vkId;}
public void setVkId(Integer vkId) {this.vkId = vkId;}
public Integer getVsId() {return vsId;}
public void setVsId(Integer vsId) {this.vsId = vsId;}
public String getVzName() {return vzName;}
public void setVzName(String vzName) {this.vzName = vzName;}
public String getVzPic() {return vzPic;}
public void setVzPic(String vzPic) {this.vzPic = vzPic;}
public String getVmms() {return vmms;}
public void setVmms(String vmms) {this.vmms = vmms;}
public String getFb() {return fb;}
public void setFb(String fb) {this.fb = fb;}
}

源代码下载点这里

评论