宠物商城后台管理系统(springMVC+Mybatis+数据库)
2022-08-03 09:57:03
189
{{single.collect_count}}

宠物商城后台管理系统(springMVC+Mybatis+数据库)

 

 

mysql数据库

create database swager;use swager;#类别create table Category(id int primary key auto_increment,name varchar(50));insert into Category(name) values('Category_name');#标签create table Tag(id int primary key auto_increment,name varchar(50));insert into Tag(name) values('Tag_name');#宠物create table Pet(id int primary key auto_increment,category_id int references category(id),name varchar(50),photoUrls varchar(256),tags int references Tag(id),status varchar(50));insert into Pet(category_id,name,photoUrls,tags,status) values(1,'Pet_name','photoUrls',1,'ok');#订单create table orders(id int primary key auto_increment,petId int references Pet(id),quantity int,shipDate datetime,status varchar(50),complete bit );#用户create table User(id int primary key auto_increment,username varchar(50),firstName varchar(50),lastName varchar(50),email varchar(50),password varchar(50),phone varchar(50),userStatus varchar(50));insert into User(username,firstName,lastName,email,password,phone,userStatus) values('username','firstName','lastName','email','password','phone','userStatus');create table ApiResponse(code int primary key auto_increment,type varchar(50),message varchar(50));select * from orders;select * from Category;select * from User;select * from Tag;select * from Pet;select * from ApiResponse;
View Code

 页面

项目下载链接:https://github.com/weibanggang/Petmanagementsystem.git

posted @ 2018-11-06 01:09 韦邦杠 阅读(...) 评论(...) 编辑 收藏
回帖
全部回帖({{commentCount}})
{{item.user.nickname}} {{item.user.group_title}} {{item.friend_time}}
{{item.content}}
{{item.comment_content_show ? '取消' : '回复'}} 删除
回帖
{{reply.user.nickname}} {{reply.user.group_title}} {{reply.friend_time}}
{{reply.content}}
{{reply.comment_content_show ? '取消' : '回复'}} 删除
回帖
收起
没有更多啦~
{{commentLoading ? '加载中...' : '查看更多评论'}}