Compare commits
24 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
4a48ba202b | 2 months ago |
|
|
367728e31e | 2 months ago |
|
|
b7652e98a8 | 2 months ago |
|
|
b12fb2f5aa | 2 months ago |
|
|
5fcd2d4102 | 2 months ago |
|
|
a7ec47861e | 2 months ago |
|
|
90c6aca468 | 2 months ago |
|
|
f567f450bf | 2 months ago |
|
|
c08cf3423b | 2 months ago |
|
|
692436de50 | 2 months ago |
|
|
64e5dfb88b | 2 months ago |
|
|
c8e0261072 | 2 months ago |
|
|
76a18c787f | 2 months ago |
|
|
ac52cb6904 | 2 months ago |
|
|
d58bc920ea | 2 months ago |
|
|
6f92f17bc0 | 2 months ago |
|
|
003d3698f1 | 2 months ago |
|
|
70496dce46 | 2 months ago |
|
|
cca838b199 | 2 months ago |
|
|
4f3a824ec9 | 2 months ago |
|
|
994ab6026c | 2 months ago |
|
|
542076510e | 2 months ago |
|
|
353563b732 | 2 months ago |
|
|
60b96f7e49 | 2 months ago |
@ -0,0 +1,4 @@
|
||||
{
|
||||
"code": 1,
|
||||
"msg": "服务端清理缓存成功"
|
||||
}
|
||||
@ -0,0 +1,73 @@
|
||||
{
|
||||
"homeInfo": {
|
||||
"title": "首页",
|
||||
"href": "welcome"
|
||||
},
|
||||
"logoInfo": {
|
||||
"title": "图书管理",
|
||||
"image": "images/favicon.ico",
|
||||
"href": ""
|
||||
},
|
||||
"menuInfo": [
|
||||
{
|
||||
"title": "功能管理",
|
||||
"icon": "fa fa-bars",
|
||||
"href": "",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "借阅管理",
|
||||
"href": "lendListIndex",
|
||||
"icon": "fa fa-window-maximize",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "图书管理",
|
||||
"href": "bookIndex",
|
||||
"icon": "fa fa-book",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "读者管理",
|
||||
"href": "readerIndex",
|
||||
"icon": "fa fa-credit-card",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "类型管理",
|
||||
"href": "typeIndex",
|
||||
"icon": "fa fa-file-text",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "公告管理",
|
||||
"href": "noticeIndexOfBack",
|
||||
"icon": "fa fa-bell",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "管理员管理",
|
||||
"href": "adminIndex",
|
||||
"icon": "fa fa-user-circle-o",
|
||||
"target": "_self"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"title": "统计分析",
|
||||
"icon": "fa fa-bar-chart",
|
||||
"href": "",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
|
||||
{
|
||||
"title": "统计分析",
|
||||
"href": "statisticIndex",
|
||||
"icon": "fa fa-superpowers",
|
||||
"target": "_self"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,34 @@
|
||||
{
|
||||
"homeInfo": {
|
||||
"title": "首页",
|
||||
"href": "welcome"
|
||||
},
|
||||
"logoInfo": {
|
||||
"title": "图书馆管理",
|
||||
"image": "images/favicon.ico",
|
||||
"href": ""
|
||||
},
|
||||
"menuInfo": [
|
||||
{
|
||||
"title": "功能管理",
|
||||
"icon": "fa fa-address-book",
|
||||
"href": "",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "公告管理",
|
||||
"href": "noticeIndexOfReader",
|
||||
"icon": "fa fa-window-maximize",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "借阅管理",
|
||||
"href": "queryLookBookList2",
|
||||
"icon": "fa fa-gears",
|
||||
"target": "_self"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,254 @@
|
||||
{
|
||||
"code": 0,
|
||||
"msg": "",
|
||||
"count": 19,
|
||||
"data": [
|
||||
{
|
||||
"authorityId": 1,
|
||||
"authorityName": "系统管理",
|
||||
"orderNumber": 1,
|
||||
"menuUrl": null,
|
||||
"menuIcon": "layui-icon-set",
|
||||
"createTime": "2018/06/29 11:05:41",
|
||||
"authority": null,
|
||||
"checked": 0,
|
||||
"updateTime": "2018/07/13 09:13:42",
|
||||
"isMenu": 0,
|
||||
"parentId": -1
|
||||
},
|
||||
{
|
||||
"authorityId": 2,
|
||||
"authorityName": "用户管理",
|
||||
"orderNumber": 2,
|
||||
"menuUrl": "system/user",
|
||||
"menuIcon": null,
|
||||
"createTime": "2018/06/29 11:05:41",
|
||||
"authority": null,
|
||||
"checked": 0,
|
||||
"updateTime": "2018/07/13 09:13:42",
|
||||
"isMenu": 0,
|
||||
"parentId": 1
|
||||
},
|
||||
{
|
||||
"authorityId": 3,
|
||||
"authorityName": "查询用户",
|
||||
"orderNumber": 3,
|
||||
"menuUrl": "",
|
||||
"menuIcon": "",
|
||||
"createTime": "2018/07/21 13:54:16",
|
||||
"authority": "user:view",
|
||||
"checked": 0,
|
||||
"updateTime": "2018/07/21 13:54:16",
|
||||
"isMenu": 1,
|
||||
"parentId": 2
|
||||
},
|
||||
{
|
||||
"authorityId": 4,
|
||||
"authorityName": "添加用户",
|
||||
"orderNumber": 4,
|
||||
"menuUrl": null,
|
||||
"menuIcon": null,
|
||||
"createTime": "2018/06/29 11:05:41",
|
||||
"authority": "user:add",
|
||||
"checked": 0,
|
||||
"updateTime": "2018/07/13 09:13:42",
|
||||
"isMenu": 1,
|
||||
"parentId": 2
|
||||
},
|
||||
{
|
||||
"authorityId": 5,
|
||||
"authorityName": "修改用户",
|
||||
"orderNumber": 5,
|
||||
"menuUrl": null,
|
||||
"menuIcon": null,
|
||||
"createTime": "2018/06/29 11:05:41",
|
||||
"authority": "user:edit",
|
||||
"checked": 0,
|
||||
"updateTime": "2018/07/13 09:13:42",
|
||||
"isMenu": 1,
|
||||
"parentId": 2
|
||||
},
|
||||
{
|
||||
"authorityId": 6,
|
||||
"authorityName": "删除用户",
|
||||
"orderNumber": 6,
|
||||
"menuUrl": null,
|
||||
"menuIcon": null,
|
||||
"createTime": "2018/06/29 11:05:41",
|
||||
"authority": "user:delete",
|
||||
"checked": 0,
|
||||
"updateTime": "2018/07/13 09:13:42",
|
||||
"isMenu": 1,
|
||||
"parentId": 2
|
||||
},
|
||||
{
|
||||
"authorityId": 7,
|
||||
"authorityName": "角色管理",
|
||||
"orderNumber": 7,
|
||||
"menuUrl": "system/role",
|
||||
"menuIcon": null,
|
||||
"createTime": "2018/06/29 11:05:41",
|
||||
"authority": null,
|
||||
"checked": 0,
|
||||
"updateTime": "2018/07/13 09:13:42",
|
||||
"isMenu": 0,
|
||||
"parentId": 1
|
||||
},
|
||||
{
|
||||
"authorityId": 8,
|
||||
"authorityName": "查询角色",
|
||||
"orderNumber": 8,
|
||||
"menuUrl": "",
|
||||
"menuIcon": "",
|
||||
"createTime": "2018/07/21 13:54:59",
|
||||
"authority": "role:view",
|
||||
"checked": 0,
|
||||
"updateTime": "2018/07/21 13:54:58",
|
||||
"isMenu": 1,
|
||||
"parentId": 7
|
||||
},
|
||||
{
|
||||
"authorityId": 9,
|
||||
"authorityName": "添加角色",
|
||||
"orderNumber": 9,
|
||||
"menuUrl": "",
|
||||
"menuIcon": "",
|
||||
"createTime": "2018/06/29 11:05:41",
|
||||
"authority": "role:add",
|
||||
"checked": 0,
|
||||
"updateTime": "2018/07/13 09:13:42",
|
||||
"isMenu": 1,
|
||||
"parentId": 7
|
||||
},
|
||||
{
|
||||
"authorityId": 10,
|
||||
"authorityName": "修改角色",
|
||||
"orderNumber": 10,
|
||||
"menuUrl": "",
|
||||
"menuIcon": "",
|
||||
"createTime": "2018/06/29 11:05:41",
|
||||
"authority": "role:edit",
|
||||
"checked": 0,
|
||||
"updateTime": "2018/07/13 09:13:42",
|
||||
"isMenu": 1,
|
||||
"parentId": 7
|
||||
},
|
||||
{
|
||||
"authorityId": 11,
|
||||
"authorityName": "删除角色",
|
||||
"orderNumber": 11,
|
||||
"menuUrl": "",
|
||||
"menuIcon": "",
|
||||
"createTime": "2018/06/29 11:05:41",
|
||||
"authority": "role:delete",
|
||||
"checked": 0,
|
||||
"updateTime": "2018/07/13 09:13:42",
|
||||
"isMenu": 1,
|
||||
"parentId": 7
|
||||
},
|
||||
{
|
||||
"authorityId": 12,
|
||||
"authorityName": "角色权限管理",
|
||||
"orderNumber": 12,
|
||||
"menuUrl": "",
|
||||
"menuIcon": "",
|
||||
"createTime": "2018/06/29 11:05:41",
|
||||
"authority": "role:auth",
|
||||
"checked": 0,
|
||||
"updateTime": "2018/07/13 15:27:18",
|
||||
"isMenu": 1,
|
||||
"parentId": 7
|
||||
},
|
||||
{
|
||||
"authorityId": 13,
|
||||
"authorityName": "权限管理",
|
||||
"orderNumber": 13,
|
||||
"menuUrl": "system/authorities",
|
||||
"menuIcon": null,
|
||||
"createTime": "2018/06/29 11:05:41",
|
||||
"authority": null,
|
||||
"checked": 0,
|
||||
"updateTime": "2018/07/13 15:45:13",
|
||||
"isMenu": 0,
|
||||
"parentId": 1
|
||||
},
|
||||
{
|
||||
"authorityId": 14,
|
||||
"authorityName": "查询权限",
|
||||
"orderNumber": 14,
|
||||
"menuUrl": "",
|
||||
"menuIcon": "",
|
||||
"createTime": "2018/07/21 13:55:57",
|
||||
"authority": "authorities:view",
|
||||
"checked": 0,
|
||||
"updateTime": "2018/07/21 13:55:56",
|
||||
"isMenu": 1,
|
||||
"parentId": 13
|
||||
},
|
||||
{
|
||||
"authorityId": 15,
|
||||
"authorityName": "添加权限",
|
||||
"orderNumber": 15,
|
||||
"menuUrl": "",
|
||||
"menuIcon": "",
|
||||
"createTime": "2018/06/29 11:05:41",
|
||||
"authority": "authorities:add",
|
||||
"checked": 0,
|
||||
"updateTime": "2018/06/29 11:05:41",
|
||||
"isMenu": 1,
|
||||
"parentId": 13
|
||||
},
|
||||
{
|
||||
"authorityId": 16,
|
||||
"authorityName": "修改权限",
|
||||
"orderNumber": 16,
|
||||
"menuUrl": "",
|
||||
"menuIcon": "",
|
||||
"createTime": "2018/07/13 09:13:42",
|
||||
"authority": "authorities:edit",
|
||||
"checked": 0,
|
||||
"updateTime": "2018/07/13 09:13:42",
|
||||
"isMenu": 1,
|
||||
"parentId": 13
|
||||
},
|
||||
{
|
||||
"authorityId": 17,
|
||||
"authorityName": "删除权限",
|
||||
"orderNumber": 17,
|
||||
"menuUrl": "",
|
||||
"menuIcon": "",
|
||||
"createTime": "2018/06/29 11:05:41",
|
||||
"authority": "authorities:delete",
|
||||
"checked": 0,
|
||||
"updateTime": "2018/06/29 11:05:41",
|
||||
"isMenu": 1,
|
||||
"parentId": 13
|
||||
},
|
||||
{
|
||||
"authorityId": 18,
|
||||
"authorityName": "登录日志",
|
||||
"orderNumber": 18,
|
||||
"menuUrl": "system/loginRecord",
|
||||
"menuIcon": null,
|
||||
"createTime": "2018/06/29 11:05:41",
|
||||
"authority": null,
|
||||
"checked": 0,
|
||||
"updateTime": "2018/06/29 11:05:41",
|
||||
"isMenu": 0,
|
||||
"parentId": 1
|
||||
},
|
||||
{
|
||||
"authorityId": 19,
|
||||
"authorityName": "查询登录日志",
|
||||
"orderNumber": 19,
|
||||
"menuUrl": "",
|
||||
"menuIcon": "",
|
||||
"createTime": "2018/07/21 13:56:43",
|
||||
"authority": "loginRecord:view",
|
||||
"checked": 0,
|
||||
"updateTime": "2018/07/21 13:56:43",
|
||||
"isMenu": 1,
|
||||
"parentId": 18
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,127 @@
|
||||
{
|
||||
"code": 0,
|
||||
"msg": "",
|
||||
"count": 1000,
|
||||
"data": [
|
||||
{
|
||||
"id": 10000,
|
||||
"username": "user-0",
|
||||
"sex": "女",
|
||||
"city": "城市-0",
|
||||
"sign": "签名-0",
|
||||
"experience": 255,
|
||||
"logins": 24,
|
||||
"wealth": 82830700,
|
||||
"classify": "作家",
|
||||
"score": 57
|
||||
},
|
||||
{
|
||||
"id": 10001,
|
||||
"username": "user-1",
|
||||
"sex": "男",
|
||||
"city": "城市-1",
|
||||
"sign": "签名-1",
|
||||
"experience": 884,
|
||||
"logins": 58,
|
||||
"wealth": 64928690,
|
||||
"classify": "词人",
|
||||
"score": 27
|
||||
},
|
||||
{
|
||||
"id": 10002,
|
||||
"username": "user-2",
|
||||
"sex": "女",
|
||||
"city": "城市-2",
|
||||
"sign": "签名-2",
|
||||
"experience": 650,
|
||||
"logins": 77,
|
||||
"wealth": 6298078,
|
||||
"classify": "酱油",
|
||||
"score": 31
|
||||
},
|
||||
{
|
||||
"id": 10003,
|
||||
"username": "user-3",
|
||||
"sex": "女",
|
||||
"city": "城市-3",
|
||||
"sign": "签名-3",
|
||||
"experience": 362,
|
||||
"logins": 157,
|
||||
"wealth": 37117017,
|
||||
"classify": "诗人",
|
||||
"score": 68
|
||||
},
|
||||
{
|
||||
"id": 10004,
|
||||
"username": "user-4",
|
||||
"sex": "男",
|
||||
"city": "城市-4",
|
||||
"sign": "签名-4",
|
||||
"experience": 807,
|
||||
"logins": 51,
|
||||
"wealth": 76263262,
|
||||
"classify": "作家",
|
||||
"score": 6
|
||||
},
|
||||
{
|
||||
"id": 10005,
|
||||
"username": "user-5",
|
||||
"sex": "女",
|
||||
"city": "城市-5",
|
||||
"sign": "签名-5",
|
||||
"experience": 173,
|
||||
"logins": 68,
|
||||
"wealth": 60344147,
|
||||
"classify": "作家",
|
||||
"score": 87
|
||||
},
|
||||
{
|
||||
"id": 10006,
|
||||
"username": "user-6",
|
||||
"sex": "女",
|
||||
"city": "城市-6",
|
||||
"sign": "签名-6",
|
||||
"experience": 982,
|
||||
"logins": 37,
|
||||
"wealth": 57768166,
|
||||
"classify": "作家",
|
||||
"score": 34
|
||||
},
|
||||
{
|
||||
"id": 10007,
|
||||
"username": "user-7",
|
||||
"sex": "男",
|
||||
"city": "城市-7",
|
||||
"sign": "签名-7",
|
||||
"experience": 727,
|
||||
"logins": 150,
|
||||
"wealth": 82030578,
|
||||
"classify": "作家",
|
||||
"score": 28
|
||||
},
|
||||
{
|
||||
"id": 10008,
|
||||
"username": "user-8",
|
||||
"sex": "男",
|
||||
"city": "城市-8",
|
||||
"sign": "签名-8",
|
||||
"experience": 951,
|
||||
"logins": 133,
|
||||
"wealth": 16503371,
|
||||
"classify": "词人",
|
||||
"score": 14
|
||||
},
|
||||
{
|
||||
"id": 10009,
|
||||
"username": "user-9",
|
||||
"sex": "女",
|
||||
"city": "城市-9",
|
||||
"sign": "签名-9",
|
||||
"experience": 484,
|
||||
"logins": 25,
|
||||
"wealth": 86801934,
|
||||
"classify": "词人",
|
||||
"score": 75
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,23 @@
|
||||
{
|
||||
"code": 0,
|
||||
"msg": "",
|
||||
"count": 16,
|
||||
"data": [
|
||||
{ "id":"001", "username":"张玉林", "sex":"女" },
|
||||
{ "id":"002", "username":"刘晓军", "sex":"男" },
|
||||
{ "id":"003", "username":"张恒", "sex":"男" },
|
||||
{ "id":"004", "username":"朱一", "sex":"男" },
|
||||
{ "id":"005", "username":"刘佳能", "sex":"女" },
|
||||
{ "id":"006", "username":"晓梅", "sex":"女" },
|
||||
{ "id":"007", "username":"马冬梅", "sex":"女" },
|
||||
{ "id":"008", "username":"刘晓庆", "sex":"女" },
|
||||
{ "id":"009", "username":"刘晓庆", "sex":"女" },
|
||||
{ "id":"010", "username":"刘晓庆", "sex":"女" },
|
||||
{ "id":"011", "username":"刘晓庆", "sex":"女" },
|
||||
{ "id":"012", "username":"刘晓庆", "sex":"女" },
|
||||
{ "id":"013", "username":"刘晓庆", "sex":"女" },
|
||||
{ "id":"014", "username":"刘晓庆", "sex":"女" },
|
||||
{ "id":"015", "username":"刘晓庆", "sex":"女" },
|
||||
{ "id":"016", "username":"刘晓庆", "sex":"女" }
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
{
|
||||
"code": 1,
|
||||
"msg": "上传成功",
|
||||
"data": {
|
||||
"url": [
|
||||
"../images/logo.png",
|
||||
"../images/captcha.jpg"
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,95 @@
|
||||
/*头部右侧背景色 headerRightBg */
|
||||
.layui-layout-admin .layui-header {
|
||||
/*background-color: #ffffff !important;*/
|
||||
}
|
||||
|
||||
/*头部右侧选中背景色 headerRightBgThis */
|
||||
.layui-layout-admin .layui-header .layuimini-header-content > ul > .layui-nav-item.layui-this, .layuimini-tool i:hover {
|
||||
background-color: #e4e4e4 !important;
|
||||
}
|
||||
|
||||
/*头部右侧字体颜色 headerRightColor */
|
||||
.layui-layout-admin .layui-header .layui-nav .layui-nav-item a {
|
||||
color: rgba(107, 107, 107, 0.7);
|
||||
}
|
||||
|
||||
/**头部右侧下拉字体颜色 headerRightChildColor */
|
||||
.layui-layout-admin .layui-header .layui-nav .layui-nav-item .layui-nav-child a {
|
||||
color: rgba(107, 107, 107, 0.7) !important;
|
||||
}
|
||||
|
||||
/*头部右侧鼠标选中 headerRightColorThis */
|
||||
.layui-header .layuimini-menu-header-pc.layui-nav .layui-nav-item a:hover, .layui-header .layuimini-header-menu.layuimini-pc-show.layui-nav .layui-this a {
|
||||
color: #565656 !important;
|
||||
}
|
||||
|
||||
/*头部右侧更多下拉颜色 headerRightNavMore */
|
||||
.layui-header .layui-nav .layui-nav-more {
|
||||
border-top-color: rgba(160, 160, 160, 0.7) !important;
|
||||
}
|
||||
|
||||
/*头部右侧更多下拉颜色 headerRightNavMore */
|
||||
.layui-header .layui-nav .layui-nav-mored, .layui-header .layui-nav-itemed > a .layui-nav-more {
|
||||
border-color: transparent transparent rgba(160, 160, 160, 0.7) !important;
|
||||
}
|
||||
|
||||
/**头部右侧更多下拉配置色 headerRightNavMoreBg headerRightNavMoreColor */
|
||||
.layui-header .layui-nav .layui-nav-child dd.layui-this a, .layui-header .layui-nav-child dd.layui-this, .layui-layout-admin .layui-header .layui-nav .layui-nav-item .layui-nav-child .layui-this a {
|
||||
background-color: #1E9FFF !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
/*头部缩放按钮样式 headerRightToolColor */
|
||||
.layui-layout-admin .layui-header .layuimini-tool i {
|
||||
color: #565656;
|
||||
}
|
||||
|
||||
/*logo背景颜色 headerLogoBg */
|
||||
.layui-layout-admin .layuimini-logo {
|
||||
background-color: #192027 !important;
|
||||
}
|
||||
|
||||
/*logo字体颜色 headerLogoColor */
|
||||
.layui-layout-admin .layuimini-logo h1 {
|
||||
color: rgb(191, 187, 187);
|
||||
}
|
||||
|
||||
/*左侧菜单更多下拉样式 leftMenuNavMore */
|
||||
.layuimini-menu-left .layui-nav .layui-nav-more, .layuimini-menu-left-zoom.layui-nav .layui-nav-more {
|
||||
border-top-color: rgb(191, 187, 187);
|
||||
}
|
||||
|
||||
/*左侧菜单更多下拉样式 leftMenuNavMore */
|
||||
.layuimini-menu-left .layui-nav .layui-nav-mored, .layuimini-menu-left .layui-nav-itemed > a .layui-nav-more, .layuimini-menu-left-zoom.layui-nav .layui-nav-mored, .layuimini-menu-left-zoom.layui-nav-itemed > a .layui-nav-more {
|
||||
border-color: transparent transparent rgb(191, 187, 187) !important;
|
||||
}
|
||||
|
||||
/*左侧菜单背景 leftMenuBg */
|
||||
.layui-side.layui-bg-black, .layui-side.layui-bg-black > .layuimini-menu-left > ul, .layuimini-menu-left-zoom > ul {
|
||||
background-color: #28333E !important;
|
||||
}
|
||||
|
||||
/*左侧菜单选中背景 leftMenuBgThis */
|
||||
.layuimini-menu-left .layui-nav-tree .layui-this, .layuimini-menu-left .layui-nav-tree .layui-this > a, .layuimini-menu-left .layui-nav-tree .layui-nav-child dd.layui-this, .layuimini-menu-left .layui-nav-tree .layui-nav-child dd.layui-this a, .layuimini-menu-left-zoom.layui-nav-tree .layui-this, .layuimini-menu-left-zoom.layui-nav-tree .layui-this > a, .layuimini-menu-left-zoom.layui-nav-tree .layui-nav-child dd.layui-this, .layuimini-menu-left-zoom.layui-nav-tree .layui-nav-child dd.layui-this a {
|
||||
background-color: #1E9FFF !important
|
||||
}
|
||||
|
||||
/*左侧菜单子菜单背景 leftMenuChildBg */
|
||||
.layuimini-menu-left .layui-nav-itemed > .layui-nav-child {
|
||||
background-color: #0c0f13 !important;
|
||||
}
|
||||
|
||||
/*左侧菜单字体颜色 leftMenuColor */
|
||||
.layuimini-menu-left .layui-nav .layui-nav-item a, .layuimini-menu-left-zoom.layui-nav .layui-nav-item a {
|
||||
color: rgb(191, 187, 187) !important;
|
||||
}
|
||||
|
||||
/*左侧菜单选中字体颜色 leftMenuColorThis */
|
||||
.layuimini-menu-left .layui-nav .layui-nav-item a:hover, .layuimini-menu-left .layui-nav .layui-this a, .layuimini-menu-left-zoom.layui-nav .layui-nav-item a:hover, .layuimini-menu-left-zoom.layui-nav .layui-this a {
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
/**tab选项卡选中颜色 tabActiveColor */
|
||||
.layuimini-tab .layui-tab-title .layui-this .layuimini-tab-active {
|
||||
background-color: #1e9fff;
|
||||
}
|
||||
@ -0,0 +1,70 @@
|
||||
body {
|
||||
margin: 15px 15px 15px 15px;
|
||||
background: #f2f2f2;
|
||||
}
|
||||
|
||||
.layuimini-container {
|
||||
border: 1px solid #f2f2f2;
|
||||
border-radius: 5px;
|
||||
background-color: #ffffff
|
||||
}
|
||||
|
||||
.layuimini-main {
|
||||
margin: 10px 10px 10px 10px;
|
||||
}
|
||||
|
||||
/**必填红点 */
|
||||
.layuimini-form > .layui-form-item > .required:after {
|
||||
content: '*';
|
||||
color: red;
|
||||
position: absolute;
|
||||
margin-left: 4px;
|
||||
font-weight: bold;
|
||||
line-height: 1.8em;
|
||||
top: 6px;
|
||||
right: 5px;
|
||||
}
|
||||
|
||||
.layuimini-form > .layui-form-item > .layui-form-label {
|
||||
width: 120px !important;
|
||||
}
|
||||
|
||||
.layuimini-form > .layui-form-item > .layui-input-block {
|
||||
margin-left: 150px !important;
|
||||
}
|
||||
|
||||
.layuimini-form > .layui-form-item > .layui-input-block > tip {
|
||||
display: inline-block;
|
||||
margin-top: 10px;
|
||||
line-height: 10px;
|
||||
font-size: 10px;
|
||||
color: #a29c9c;
|
||||
}
|
||||
|
||||
/**搜索框*/
|
||||
.layuimini-container .table-search-fieldset {
|
||||
margin: 0;
|
||||
border: 1px solid #e6e6e6;
|
||||
padding: 10px 20px 5px 20px;
|
||||
color: #6b6b6b;
|
||||
}
|
||||
|
||||
/**自定义滚动条样式 */
|
||||
::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
height: 6px
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background-color: transparent;
|
||||
-webkit-border-radius: 2em;
|
||||
-moz-border-radius: 2em;
|
||||
border-radius: 2em;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: #9c9da0;
|
||||
-webkit-border-radius: 2em;
|
||||
-moz-border-radius: 2em;
|
||||
border-radius: 2em
|
||||
}
|
||||
@ -1,66 +0,0 @@
|
||||
package com.yx.dao;
|
||||
|
||||
import com.yx.po.Admin;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface AdminMapper {
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table admin
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table admin
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int insert(Admin record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table admin
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int insertSelective(Admin record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table admin
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
Admin selectByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table admin
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int updateByPrimaryKeySelective(Admin record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table admin
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int updateByPrimaryKey(Admin record);
|
||||
|
||||
/**
|
||||
* 管理员查询
|
||||
*/
|
||||
List<Admin> queryAdminInfoAll(Admin admin);
|
||||
|
||||
/**
|
||||
* 根据用户名和密码查询用户信息
|
||||
*/
|
||||
Admin queryUserByNameAndPassword(@Param("username") String username,@Param("password") String password);
|
||||
}
|
||||
@ -1,66 +0,0 @@
|
||||
package com.yx.dao;
|
||||
|
||||
import com.yx.po.BookInfo;
|
||||
|
||||
import java.awt.print.Book;
|
||||
import java.util.List;
|
||||
|
||||
public interface BookInfoMapper {
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_info
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_info
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int insert(BookInfo record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_info
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int insertSelective(BookInfo record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_info
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
BookInfo selectByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_info
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int updateByPrimaryKeySelective(BookInfo record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_info
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int updateByPrimaryKey(BookInfo record);
|
||||
|
||||
/**
|
||||
* 查询所有图书记录
|
||||
*/
|
||||
List<BookInfo> queryBookInfoAll(BookInfo bookInfo);
|
||||
|
||||
/**
|
||||
* 根据类型获取图书数量
|
||||
*/
|
||||
List<BookInfo> getBookCountByType();
|
||||
}
|
||||
@ -1,62 +0,0 @@
|
||||
package com.yx.dao;
|
||||
|
||||
import com.yx.po.Notice;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface NoticeMapper {
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table notice
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table notice
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int insert(Notice record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table notice
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int insertSelective(Notice record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table notice
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
Notice selectByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table notice
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int updateByPrimaryKeySelective(Notice record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table notice
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int updateByPrimaryKey(Notice record);
|
||||
|
||||
/**
|
||||
* 查询所有公告信息
|
||||
*/
|
||||
List<Notice> queryNoticeAll(Notice notice);
|
||||
|
||||
}
|
||||
@ -1,66 +0,0 @@
|
||||
package com.yx.dao;
|
||||
|
||||
import com.yx.po.ReaderInfo;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ReaderInfoMapper {
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table reader_info
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table reader_info
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int insert(ReaderInfo record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table reader_info
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int insertSelective(ReaderInfo record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table reader_info
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
ReaderInfo selectByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table reader_info
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int updateByPrimaryKeySelective(ReaderInfo record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table reader_info
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
int updateByPrimaryKey(ReaderInfo record);
|
||||
|
||||
/**
|
||||
* 查询所有记录信息
|
||||
*/
|
||||
List<ReaderInfo> queryAllReaderInfo(ReaderInfo readerInfo);
|
||||
|
||||
/**
|
||||
* 根据用户名和密码查询用户信息
|
||||
*/
|
||||
ReaderInfo queryUserInfoByNameAndPassword(@Param("username") String username, @Param("password") String password);
|
||||
}
|
||||
|
After Width: | Height: | Size: 422 KiB |
|
After Width: | Height: | Size: 507 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 146 KiB |
|
After Width: | Height: | Size: 671 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 5.4 KiB |
@ -0,0 +1,30 @@
|
||||
/**
|
||||
* date:2019/08/16
|
||||
* author:Mr.Chung
|
||||
* description:此处放layui自定义扩展
|
||||
* version:2.0.4
|
||||
*/
|
||||
|
||||
window.rootPath = (function (src) {
|
||||
src = document.scripts[document.scripts.length - 1].src;
|
||||
return src.substring(0, src.lastIndexOf("/") + 1);
|
||||
})();
|
||||
|
||||
layui.config({
|
||||
base: rootPath + "lay-module/",
|
||||
version: true
|
||||
}).extend({
|
||||
miniAdmin: "layuimini/miniAdmin", // layuimini后台扩展
|
||||
miniMenu: "layuimini/miniMenu", // layuimini菜单扩展
|
||||
miniTab: "layuimini/miniTab", // layuimini tab扩展
|
||||
miniTheme: "layuimini/miniTheme", // layuimini 主题扩展
|
||||
miniTongji: "layuimini/miniTongji", // layuimini 统计扩展
|
||||
step: 'step-lay/step', // 分步表单扩展
|
||||
treetable: 'treetable-lay/treetable', //table树形扩展
|
||||
tableSelect: 'tableSelect/tableSelect', // table选择扩展
|
||||
iconPickerFa: 'iconPicker/iconPickerFa', // fa图标选择扩展
|
||||
echarts: 'echarts/echarts', // echarts图表扩展
|
||||
echartsTheme: 'echarts/echartsTheme', // echarts图表主题扩展
|
||||
wangEditor: 'wangEditor/wangEditor', // wangEditor富文本扩展
|
||||
layarea: 'layarea/layarea', // 省市县区三级联动下拉选择器
|
||||
});
|
||||
@ -0,0 +1,110 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>404</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta http-equiv="Access-Control-Allow-Origin" content="*">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="format-detection" content="telephone=no">
|
||||
<link rel="stylesheet" href="../lib/layui-v2.5.5/css/layui.css" media="all">
|
||||
<style>
|
||||
.error .clip .shadow {height:180px;}
|
||||
.error .clip:nth-of-type(2) .shadow {width:130px;}
|
||||
.error .clip:nth-of-type(1) .shadow,.error .clip:nth-of-type(3) .shadow {width:250px;}
|
||||
.error .digit {width:150px;height:150px;line-height:150px;font-size:120px;font-weight:bold;}
|
||||
.error h2 {font-size:32px;}
|
||||
.error .msg {top:-190px;left:30%;width:80px;height:80px;line-height:80px;font-size:32px;}
|
||||
.error span.triangle {top:70%;right:0%;border-left:20px solid #535353;border-top:15px solid transparent;border-bottom:15px solid transparent;}
|
||||
.error .container-error-404 {top: 50%;margin-top: 250px;position:relative;height:250px;padding-top:40px;}
|
||||
.error .container-error-404 .clip {display:inline-block;transform:skew(-45deg);}
|
||||
.error .clip .shadow {overflow:hidden;}
|
||||
.error .clip:nth-of-type(2) .shadow {overflow:hidden;position:relative;box-shadow:inset 20px 0px 20px -15px rgba(150,150,150,0.8),20px 0px 20px -15px rgba(150,150,150,0.8);}
|
||||
.error .clip:nth-of-type(3) .shadow:after,.error .clip:nth-of-type(1) .shadow:after {content:"";position:absolute;right:-8px;bottom:0px;z-index:9999;height:100%;width:10px;background:linear-gradient(90deg,transparent,rgba(173,173,173,0.8),transparent);border-radius:50%;}
|
||||
.error .clip:nth-of-type(3) .shadow:after {left:-8px;}
|
||||
.error .digit {position:relative;top:8%;color:white;background:#1E9FFF;border-radius:50%;display:inline-block;transform:skew(45deg);}
|
||||
.error .clip:nth-of-type(2) .digit {left:-10%;}
|
||||
.error .clip:nth-of-type(1) .digit {right:-20%;}
|
||||
.error .clip:nth-of-type(3) .digit {left:-20%;}
|
||||
.error h2 {font-size:24px;color:#A2A2A2;font-weight:bold;padding-bottom:20px;}
|
||||
.error .tohome {font-size:16px;color:#07B3F9;}
|
||||
.error .msg {position:relative;z-index:9999;display:block;background:#535353;color:#A2A2A2;border-radius:50%;font-style:italic;}
|
||||
.error .triangle {position:absolute;z-index:999;transform:rotate(45deg);content:"";width:0;height:0;}
|
||||
@media(max-width:767px) {.error .clip .shadow {height:100px;}
|
||||
.error .clip:nth-of-type(2) .shadow {width:80px;}
|
||||
.error .clip:nth-of-type(1) .shadow,.error .clip:nth-of-type(3) .shadow {width:100px;}
|
||||
.error .digit {width:80px;height:80px;line-height:80px;font-size:52px;}
|
||||
.error h2 {font-size:18px;}
|
||||
.error .msg {top:-110px;left:15%;width:40px;height:40px;line-height:40px;font-size:18px;}
|
||||
.error span.triangle {top:70%;right:-3%;border-left:10px solid #535353;border-top:8px solid transparent;border-bottom:8px solid transparent;}
|
||||
.error .container-error-404 {height:150px;}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="error">
|
||||
<div class="container-floud">
|
||||
<div style="text-align: center">
|
||||
<div class="container-error-404">
|
||||
<div class="clip">
|
||||
<div class="shadow">
|
||||
<span class="digit thirdDigit"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clip">
|
||||
<div class="shadow">
|
||||
<span class="digit secondDigit"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clip">
|
||||
<div class="shadow">
|
||||
<span class="digit firstDigit"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="msg">OH!
|
||||
<span class="triangle"></span>
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="h1">很抱歉,你访问的页面找不到了</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="../lib/layui-v2.5.5/layui.js" charset="utf-8"></script>
|
||||
<script>
|
||||
function randomNum() {
|
||||
return Math.floor(Math.random() * 9) + 1;
|
||||
}
|
||||
|
||||
var loop1, loop2, loop3, time = 30, i = 0, number;
|
||||
loop3 = setInterval(function () {
|
||||
if (i > 40) {
|
||||
clearInterval(loop3);
|
||||
document.querySelector('.thirdDigit').textContent = 4;
|
||||
} else {
|
||||
document.querySelector('.thirdDigit').textContent = randomNum();
|
||||
i++;
|
||||
}
|
||||
}, time);
|
||||
loop2 = setInterval(function () {
|
||||
if (i > 80) {
|
||||
clearInterval(loop2);
|
||||
document.querySelector('.secondDigit').textContent = 0;
|
||||
} else {
|
||||
document.querySelector('.secondDigit').textContent = randomNum();
|
||||
i++;
|
||||
}
|
||||
}, time);
|
||||
loop1 = setInterval(function () {
|
||||
if (i > 100) {
|
||||
clearInterval(loop1);
|
||||
document.querySelector('.firstDigit').textContent = 4;
|
||||
} else {
|
||||
document.querySelector('.firstDigit').textContent = randomNum();
|
||||
i++;
|
||||
}
|
||||
}, time);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,182 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>首页二</title>
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<link rel="stylesheet" href="../lib/layui-v2.5.5/css/layui.css" media="all">
|
||||
<link rel="stylesheet" href="../lib/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
|
||||
<link rel="stylesheet" href="../css/public.css" media="all">
|
||||
<style>
|
||||
.layui-card {border:1px solid #f2f2f2;border-radius:5px;}
|
||||
.icon {margin-right:10px;color:#1aa094;}
|
||||
.icon-cray {color:#ffb800!important;}
|
||||
.icon-blue {color:#1e9fff!important;}
|
||||
.icon-tip {color:#ff5722!important;}
|
||||
.layuimini-qiuck-module {text-align:center;margin-top: 10px}
|
||||
.layuimini-qiuck-module a i {display:inline-block;width:100%;height:60px;line-height:60px;text-align:center;border-radius:2px;font-size:30px;background-color:#F8F8F8;color:#333;transition:all .3s;-webkit-transition:all .3s;}
|
||||
.layuimini-qiuck-module a cite {position:relative;top:2px;display:block;color:#666;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:14px;}
|
||||
.welcome-module {width:100%;height:210px;}
|
||||
.panel {background-color:#fff;border:1px solid transparent;border-radius:3px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}
|
||||
.panel-body {padding:10px}
|
||||
.panel-title {margin-top:0;margin-bottom:0;font-size:12px;color:inherit}
|
||||
.label {display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;margin-top: .3em;}
|
||||
.layui-red {color:red}
|
||||
.main_btn > p {height:40px;}
|
||||
.layui-bg-number {background-color:#F8F8F8;}
|
||||
.layuimini-notice:hover {background:#f6f6f6;}
|
||||
.layuimini-notice {padding:7px 16px;clear:both;font-size:12px !important;cursor:pointer;position:relative;transition:background 0.2s ease-in-out;}
|
||||
.layuimini-notice-title,.layuimini-notice-label {
|
||||
padding-right: 70px !important;text-overflow:ellipsis!important;overflow:hidden!important;white-space:nowrap!important;}
|
||||
.layuimini-notice-title {line-height:28px;font-size:14px;}
|
||||
.layuimini-notice-extra {position:absolute;top:50%;margin-top:-8px;right:16px;display:inline-block;height:16px;color:#999;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="layuimini-container">
|
||||
<div class="layuimini-main">
|
||||
<div class="layui-row layui-col-space15">
|
||||
<div class="layui-col-md12">
|
||||
<div class="layui-row layui-col-space15">
|
||||
<div class="layui-col-md12">
|
||||
<div class="layui-card">
|
||||
<div class="layui-card-header"><i class="fa fa-warning icon"></i>数据统计</div>
|
||||
<div class="layui-card-body">
|
||||
<div class="welcome-module">
|
||||
<div class="layui-row layui-col-space10">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="layui-col-md12">
|
||||
<div class="layui-card">
|
||||
<div class="layui-card-header"><i class="fa fa-line-chart icon"></i>报表统计</div>
|
||||
<div class="layui-card-body">
|
||||
<div id="echarts-records" style="width: 100%;min-height:500px"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<script src="../lib/layui-v2.5.5/layui.js" charset="utf-8"></script>
|
||||
<script src="../js/lay-config.js?v=1.0.4" charset="utf-8"></script>
|
||||
<script>
|
||||
layui.use(['layer', 'miniTab','echarts'], function () {
|
||||
var $ = layui.jquery,
|
||||
layer = layui.layer,
|
||||
miniTab = layui.miniTab,
|
||||
echarts = layui.echarts;
|
||||
|
||||
miniTab.listen();
|
||||
|
||||
/**
|
||||
* 查看公告信息
|
||||
**/
|
||||
$('body').on('click', '.layuimini-notice', function () {
|
||||
var title = $(this).children('.layuimini-notice-title').text(),
|
||||
noticeTime = $(this).children('.layuimini-notice-extra').text(),
|
||||
content = $(this).children('.layuimini-notice-content').html();
|
||||
var html = '<div style="padding:15px 20px; text-align:justify; line-height: 22px;border-bottom:1px solid #e2e2e2;background-color: #2f4056;color: #ffffff">\n' +
|
||||
'<div style="text-align: center;margin-bottom: 20px;font-weight: bold;border-bottom:1px solid #718fb5;padding-bottom: 5px"><h4 class="text-danger">' + title + '</h4></div>\n' +
|
||||
'<div style="font-size: 12px">' + content + '</div>\n' +
|
||||
'</div>\n';
|
||||
parent.layer.open({
|
||||
type: 1,
|
||||
title: '系统公告'+'<span style="float: right;right: 1px;font-size: 12px;color: #b1b3b9;margin-top: 1px">'+noticeTime+'</span>',
|
||||
area: '300px;',
|
||||
shade: 0.8,
|
||||
id: 'layuimini-notice',
|
||||
btn: ['查看', '取消'],
|
||||
btnAlign: 'c',
|
||||
moveType: 1,
|
||||
content:html,
|
||||
success: function (layero) {
|
||||
var btn = layero.find('.layui-layer-btn');
|
||||
btn.find('.layui-layer-btn0').attr({
|
||||
href: 'https://gitee.com/zhongshaofa/layuimini',
|
||||
target: '_blank'
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
/**
|
||||
* 报表功能
|
||||
*/
|
||||
var echartsRecords = echarts.init(document.getElementById('echarts-records'), 'walden');
|
||||
var optionRecords = {
|
||||
tooltip: {
|
||||
trigger: 'axis'
|
||||
},
|
||||
legend: {
|
||||
data:['邮件营销','联盟广告','视频广告','直接访问','搜索引擎']
|
||||
},
|
||||
grid: {
|
||||
left: '3%',
|
||||
right: '4%',
|
||||
bottom: '3%',
|
||||
containLabel: true
|
||||
},
|
||||
toolbox: {
|
||||
feature: {
|
||||
saveAsImage: {}
|
||||
}
|
||||
},
|
||||
xAxis: {
|
||||
type: 'category',
|
||||
boundaryGap: false,
|
||||
data: ['周一','周二','周三','周四','周五','周六','周日']
|
||||
},
|
||||
yAxis: {
|
||||
type: 'value'
|
||||
},
|
||||
series: [
|
||||
{
|
||||
name:'邮件营销',
|
||||
type:'line',
|
||||
data:[120, 132, 101, 134, 90, 230, 210]
|
||||
},
|
||||
{
|
||||
name:'联盟广告',
|
||||
type:'line',
|
||||
data:[220, 182, 191, 234, 290, 330, 310]
|
||||
},
|
||||
{
|
||||
name:'视频广告',
|
||||
type:'line',
|
||||
data:[150, 232, 201, 154, 190, 330, 410]
|
||||
},
|
||||
{
|
||||
name:'直接访问',
|
||||
type:'line',
|
||||
data:[320, 332, 301, 334, 390, 330, 320]
|
||||
},
|
||||
{
|
||||
name:'搜索引擎',
|
||||
type:'line',
|
||||
data:[820, 932, 901, 934, 1290, 1330, 1320]
|
||||
}
|
||||
]
|
||||
};
|
||||
echartsRecords.setOption(optionRecords);
|
||||
|
||||
// echarts 窗口缩放自适应
|
||||
window.onresize = function(){
|
||||
echartsRecords.resize();
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,364 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>首页三</title>
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<link rel="stylesheet" href="../lib/layui-v2.5.5/css/layui.css" media="all">
|
||||
<link rel="stylesheet" href="../lib/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
|
||||
<link rel="stylesheet" href="../css/public.css" media="all">
|
||||
<style>
|
||||
.top-panel {
|
||||
border: 1px solid #eceff9;
|
||||
border-radius: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
.top-panel > .layui-card-body{
|
||||
height: 60px;
|
||||
}
|
||||
.top-panel-number{
|
||||
line-height:60px;
|
||||
font-size: 30px;
|
||||
border-right:1px solid #eceff9;
|
||||
}
|
||||
.top-panel-tips{
|
||||
line-height:30px;
|
||||
font-size: 12px
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!--<div class="layuimini-container">-->
|
||||
<div class="layuimini-main">
|
||||
|
||||
<div class="layui-row layui-col-space15">
|
||||
<div class="layui-col-xs12 layui-col-md3">
|
||||
|
||||
<div class="layui-card top-panel">
|
||||
<div class="layui-card-header">要展示的指标名称</div>
|
||||
<div class="layui-card-body">
|
||||
<div class="layui-row layui-col-space5">
|
||||
<div class="layui-col-xs9 layui-col-md9 top-panel-number">
|
||||
9,054,056
|
||||
</div>
|
||||
<div class="layui-col-xs3 layui-col-md3 top-panel-tips">
|
||||
比昨天 <a style="color: #1aa094">▲0.12</a><br>
|
||||
比七日 <a style="color: #bd3004">▼0.06</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="layui-col-xs12 layui-col-md3">
|
||||
|
||||
<div class="layui-card top-panel">
|
||||
<div class="layui-card-header">要展示的指标名称</div>
|
||||
<div class="layui-card-body">
|
||||
<div class="layui-row layui-col-space5">
|
||||
<div class="layui-col-xs9 layui-col-md9 top-panel-number">
|
||||
9,054,056
|
||||
</div>
|
||||
<div class="layui-col-xs3 layui-col-md3 top-panel-tips">
|
||||
比昨天 <a style="color: #1aa094">▲0.12</a><br>
|
||||
比七日 <a style="color: #bd3004">▼0.06</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="layui-col-xs12 layui-col-md3">
|
||||
|
||||
<div class="layui-card top-panel">
|
||||
<div class="layui-card-header">要展示的指标名称</div>
|
||||
<div class="layui-card-body">
|
||||
<div class="layui-row layui-col-space5">
|
||||
<div class="layui-col-xs9 layui-col-md9 top-panel-number">
|
||||
9,054,056
|
||||
</div>
|
||||
<div class="layui-col-xs3 layui-col-md3 top-panel-tips">
|
||||
比昨天 <a style="color: #1aa094">▲0.12</a><br>
|
||||
比七日 <a style="color: #bd3004">▼0.06</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="layui-col-xs12 layui-col-md3">
|
||||
|
||||
<div class="layui-card top-panel">
|
||||
<div class="layui-card-header">要展示的指标名称</div>
|
||||
<div class="layui-card-body">
|
||||
<div class="layui-row layui-col-space5">
|
||||
<div class="layui-col-xs9 layui-col-md9 top-panel-number">
|
||||
9,054,056
|
||||
</div>
|
||||
<div class="layui-col-xs3 layui-col-md3 top-panel-tips">
|
||||
比昨天 <a style="color: #1aa094">▲0.12</a><br>
|
||||
比七日 <a style="color: #bd3004">▼0.06</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-row layui-col-space15">
|
||||
<div class="layui-col-xs12 layui-col-md9">
|
||||
<div id="echarts-records" style="background-color:#ffffff;min-height:400px;padding: 10px"></div>
|
||||
</div>
|
||||
<div class="layui-col-xs12 layui-col-md3">
|
||||
<div id="echarts-pies" style="background-color:#ffffff;min-height:400px;padding: 10px"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="layui-row layui-col-space15">
|
||||
<div class="layui-col-xs12 layui-col-md6">
|
||||
<div id="echarts-dataset" style="background-color:#ffffff;min-height:300px;padding: 10px"></div>
|
||||
</div>
|
||||
<div class="layui-col-xs12 layui-col-md6">
|
||||
<div id="echarts-map" style="background-color:#ffffff;min-height:300px;padding: 10px"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<!--</div>-->
|
||||
<script src="../lib/layui-v2.5.5/layui.js" charset="utf-8"></script>
|
||||
<script src="../js/lay-config.js?v=1.0.4" charset="utf-8"></script>
|
||||
<script>
|
||||
layui.use(['layer', 'echarts'], function () {
|
||||
var $ = layui.jquery,
|
||||
layer = layui.layer,
|
||||
echarts = layui.echarts;
|
||||
|
||||
/**
|
||||
* 报表功能
|
||||
*/
|
||||
var echartsRecords = echarts.init(document.getElementById('echarts-records'), 'walden');
|
||||
|
||||
var optionRecords = {
|
||||
title: {
|
||||
text: '指标名称-报表图'
|
||||
},
|
||||
tooltip: {
|
||||
trigger: 'axis',
|
||||
axisPointer: {
|
||||
type: 'cross',
|
||||
label: {
|
||||
backgroundColor: '#6a7985'
|
||||
}
|
||||
}
|
||||
},
|
||||
legend: {
|
||||
data: ['邮件营销', '联盟广告', '视频广告', '直接访问', '搜索引擎']
|
||||
},
|
||||
toolbox: {
|
||||
feature: {
|
||||
saveAsImage: {}
|
||||
}
|
||||
},
|
||||
grid: {
|
||||
left: '3%',
|
||||
right: '4%',
|
||||
bottom: '3%',
|
||||
containLabel: true
|
||||
},
|
||||
xAxis: [
|
||||
{
|
||||
type: 'category',
|
||||
boundaryGap: false,
|
||||
data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日']
|
||||
}
|
||||
],
|
||||
yAxis: [
|
||||
{
|
||||
type: 'value'
|
||||
}
|
||||
],
|
||||
series: [
|
||||
{
|
||||
name: '邮件营销',
|
||||
type: 'line',
|
||||
stack: '总量',
|
||||
areaStyle: {},
|
||||
data: [120, 132, 101, 134, 90, 230, 210]
|
||||
},
|
||||
{
|
||||
name: '联盟广告',
|
||||
type: 'line',
|
||||
areaStyle: {},
|
||||
data: [220, 182, 191, 234, 290, 330, 310]
|
||||
},
|
||||
{
|
||||
name: '视频广告',
|
||||
type: 'line',
|
||||
stack: '总量',
|
||||
areaStyle: {},
|
||||
data: [150, 232, 201, 154, 190, 330, 410]
|
||||
},
|
||||
{
|
||||
name: '直接访问',
|
||||
type: 'line',
|
||||
stack: '总量',
|
||||
areaStyle: {},
|
||||
data: [320, 332, 301, 334, 390, 330, 320]
|
||||
},
|
||||
{
|
||||
name: '搜索引擎',
|
||||
type: 'line',
|
||||
stack: '总量',
|
||||
label: {
|
||||
normal: {
|
||||
show: true,
|
||||
position: 'top'
|
||||
}
|
||||
},
|
||||
areaStyle: {},
|
||||
data: [820, 932, 901, 934, 1290, 1330, 1320]
|
||||
}
|
||||
]
|
||||
};
|
||||
echartsRecords.setOption(optionRecords);
|
||||
|
||||
|
||||
/**
|
||||
* 玫瑰图表
|
||||
*/
|
||||
var echartsPies = echarts.init(document.getElementById('echarts-pies'), 'walden');
|
||||
var optionPies = {
|
||||
title: {
|
||||
text: '指标名称-玫瑰图',
|
||||
left: 'center'
|
||||
},
|
||||
tooltip: {
|
||||
trigger: 'item',
|
||||
formatter: '{a} <br/>{b} : {c} ({d}%)'
|
||||
},
|
||||
legend: {
|
||||
orient: 'vertical',
|
||||
left: 'left',
|
||||
data: ['直接访问', '邮件营销', '联盟广告', '视频广告', '搜索引擎']
|
||||
},
|
||||
series: [
|
||||
{
|
||||
name: '访问来源',
|
||||
type: 'pie',
|
||||
radius: '55%',
|
||||
center: ['50%', '60%'],
|
||||
roseType: 'radius',
|
||||
data: [
|
||||
{value: 335, name: '直接访问'},
|
||||
{value: 310, name: '邮件营销'},
|
||||
{value: 234, name: '联盟广告'},
|
||||
{value: 135, name: '视频广告'},
|
||||
{value: 368, name: '搜索引擎'}
|
||||
],
|
||||
emphasis: {
|
||||
itemStyle: {
|
||||
shadowBlur: 10,
|
||||
shadowOffsetX: 0,
|
||||
shadowColor: 'rgba(0, 0, 0, 0.5)'
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
echartsPies.setOption(optionPies);
|
||||
|
||||
|
||||
/**
|
||||
* 柱状图
|
||||
*/
|
||||
var echartsDataset = echarts.init(document.getElementById('echarts-dataset'), 'walden');
|
||||
|
||||
var optionDataset = {
|
||||
legend: {},
|
||||
tooltip: {},
|
||||
dataset: {
|
||||
dimensions: ['product', '2015', '2016', '2017'],
|
||||
source: [
|
||||
{product: 'Matcha Latte', '2015': 43.3, '2016': 85.8, '2017': 93.7},
|
||||
{product: 'Milk Tea', '2015': 83.1, '2016': 73.4, '2017': 55.1},
|
||||
{product: 'Cheese Cocoa', '2015': 86.4, '2016': 65.2, '2017': 82.5},
|
||||
{product: 'Walnut Brownie', '2015': 72.4, '2016': 53.9, '2017': 39.1}
|
||||
]
|
||||
},
|
||||
xAxis: {type: 'category'},
|
||||
yAxis: {},
|
||||
// Declare several bar series, each will be mapped
|
||||
// to a column of dataset.source by default.
|
||||
series: [
|
||||
{type: 'bar'},
|
||||
{type: 'bar'},
|
||||
{type: 'bar'}
|
||||
]
|
||||
};
|
||||
|
||||
echartsDataset.setOption(optionDataset);
|
||||
|
||||
|
||||
/**
|
||||
* 中国地图
|
||||
*/
|
||||
var echartsMap = echarts.init(document.getElementById('echarts-map'), 'walden');
|
||||
|
||||
|
||||
var optionMap = {
|
||||
legend: {},
|
||||
tooltip: {
|
||||
trigger: 'axis',
|
||||
showContent: false
|
||||
},
|
||||
dataset: {
|
||||
source: [
|
||||
['product', '2012', '2013', '2014', '2015', '2016', '2017'],
|
||||
['Matcha Latte', 41.1, 30.4, 65.1, 53.3, 83.8, 98.7],
|
||||
['Milk Tea', 86.5, 92.1, 85.7, 83.1, 73.4, 55.1],
|
||||
['Cheese Cocoa', 24.1, 67.2, 79.5, 86.4, 65.2, 82.5],
|
||||
['Walnut Brownie', 55.2, 67.1, 69.2, 72.4, 53.9, 39.1]
|
||||
]
|
||||
},
|
||||
xAxis: {type: 'category'},
|
||||
yAxis: {gridIndex: 0},
|
||||
grid: {top: '55%'},
|
||||
series: [
|
||||
{type: 'line', smooth: true, seriesLayoutBy: 'row'},
|
||||
{type: 'line', smooth: true, seriesLayoutBy: 'row'},
|
||||
{type: 'line', smooth: true, seriesLayoutBy: 'row'},
|
||||
{type: 'line', smooth: true, seriesLayoutBy: 'row'},
|
||||
{
|
||||
type: 'pie',
|
||||
id: 'pie',
|
||||
radius: '30%',
|
||||
center: ['50%', '25%'],
|
||||
label: {
|
||||
formatter: '{b}: {@2012} ({d}%)'
|
||||
},
|
||||
encode: {
|
||||
itemName: 'product',
|
||||
value: '2012',
|
||||
tooltip: '2012'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
echartsMap.setOption(optionMap);
|
||||
|
||||
|
||||
// echarts 窗口缩放自适应
|
||||
window.onresize = function () {
|
||||
echartsRecords.resize();
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@ -1,141 +0,0 @@
|
||||
package com.yx.po;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class Admin implements Serializable {
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column admin.id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column admin.username
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String username;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column admin.password
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String password;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column admin.admin_type
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private Integer adminType;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database table admin
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column admin.id
|
||||
*
|
||||
* @return the value of admin.id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column admin.id
|
||||
*
|
||||
* @param id the value for admin.id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column admin.username
|
||||
*
|
||||
* @return the value of admin.username
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column admin.username
|
||||
*
|
||||
* @param username the value for admin.username
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setUsername(String username) {
|
||||
this.username = username == null ? null : username.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column admin.password
|
||||
*
|
||||
* @return the value of admin.password
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column admin.password
|
||||
*
|
||||
* @param password the value for admin.password
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setPassword(String password) {
|
||||
this.password = password == null ? null : password.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column admin.admin_type
|
||||
*
|
||||
* @return the value of admin.admin_type
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Integer getAdminType() {
|
||||
return adminType;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column admin.admin_type
|
||||
*
|
||||
* @param adminType the value for admin.admin_type
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setAdminType(Integer adminType) {
|
||||
this.adminType = adminType;
|
||||
}
|
||||
}
|
||||
@ -1,386 +0,0 @@
|
||||
package com.yx.po;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
public class BookInfo implements Serializable {
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.name
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.author
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String author;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.publish
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String publish;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.ISBN
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String isbn;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.introduction
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String introduction;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.language
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String language;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.price
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private Double price;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.publish_date
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private Date publishDate;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.type_id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private Integer typeId;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.status
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database table book_info
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private TypeInfo typeInfo;//图书类型,在图书馆里中显示什么类型的书
|
||||
|
||||
private Integer counts;
|
||||
|
||||
public Integer getCounts() {
|
||||
return counts;
|
||||
}
|
||||
|
||||
public void setCounts(Integer counts) {
|
||||
this.counts = counts;
|
||||
}
|
||||
|
||||
public TypeInfo getTypeInfo() {
|
||||
return typeInfo;
|
||||
}
|
||||
|
||||
public void setTypeInfo(TypeInfo typeInfo) {
|
||||
this.typeInfo = typeInfo;
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.id
|
||||
*
|
||||
* @return the value of book_info.id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.id
|
||||
*
|
||||
* @param id the value for book_info.id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.name
|
||||
*
|
||||
* @return the value of book_info.name
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.name
|
||||
*
|
||||
* @param name the value for book_info.name
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setName(String name) {
|
||||
this.name = name == null ? null : name.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.author
|
||||
*
|
||||
* @return the value of book_info.author
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getAuthor() {
|
||||
return author;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.author
|
||||
*
|
||||
* @param author the value for book_info.author
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setAuthor(String author) {
|
||||
this.author = author == null ? null : author.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.publish
|
||||
*
|
||||
* @return the value of book_info.publish
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getPublish() {
|
||||
return publish;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.publish
|
||||
*
|
||||
* @param publish the value for book_info.publish
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setPublish(String publish) {
|
||||
this.publish = publish == null ? null : publish.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.ISBN
|
||||
*
|
||||
* @return the value of book_info.ISBN
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getIsbn() {
|
||||
return isbn;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.ISBN
|
||||
*
|
||||
* @param isbn the value for book_info.ISBN
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setIsbn(String isbn) {
|
||||
this.isbn = isbn == null ? null : isbn.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.introduction
|
||||
*
|
||||
* @return the value of book_info.introduction
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getIntroduction() {
|
||||
return introduction;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.introduction
|
||||
*
|
||||
* @param introduction the value for book_info.introduction
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setIntroduction(String introduction) {
|
||||
this.introduction = introduction == null ? null : introduction.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.language
|
||||
*
|
||||
* @return the value of book_info.language
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getLanguage() {
|
||||
return language;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.language
|
||||
*
|
||||
* @param language the value for book_info.language
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setLanguage(String language) {
|
||||
this.language = language == null ? null : language.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.price
|
||||
*
|
||||
* @return the value of book_info.price
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Double getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.price
|
||||
*
|
||||
* @param price the value for book_info.price
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setPrice(Double price) {
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.publish_date
|
||||
*
|
||||
* @return the value of book_info.publish_date
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Date getPublishDate() {
|
||||
return publishDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.publish_date
|
||||
*
|
||||
* @param publishDate the value for book_info.publish_date
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setPublishDate(Date publishDate) {
|
||||
this.publishDate = publishDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.type_id
|
||||
*
|
||||
* @return the value of book_info.type_id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Integer getTypeId() {
|
||||
return typeId;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.type_id
|
||||
*
|
||||
* @param typeId the value for book_info.type_id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setTypeId(Integer typeId) {
|
||||
this.typeId = typeId;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.status
|
||||
*
|
||||
* @return the value of book_info.status
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Integer getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.status
|
||||
*
|
||||
* @param status the value for book_info.status
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
}
|
||||
@ -1,249 +0,0 @@
|
||||
package com.yx.po;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
public class LendList implements Serializable {
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column lend_list.id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column lend_list.book_id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private Integer bookId;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column lend_list.reader_id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private Integer readerId;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column lend_list.lend_date
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//接收页面输入的时间,将其格式化
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")//后端传的日期格式化
|
||||
private Date lendDate;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column lend_list.back_date
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date backDate;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column lend_list.back_type
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private Integer backType;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column lend_list.exceptRemarks
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String exceptRemarks;
|
||||
|
||||
private BookInfo bookInfo;
|
||||
|
||||
private ReaderInfo readerInfo;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database table lend_list
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column lend_list.id
|
||||
*
|
||||
* @return the value of lend_list.id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column lend_list.id
|
||||
*
|
||||
* @param id the value for lend_list.id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column lend_list.book_id
|
||||
*
|
||||
* @return the value of lend_list.book_id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Integer getBookId() {
|
||||
return bookId;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column lend_list.book_id
|
||||
*
|
||||
* @param bookId the value for lend_list.book_id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setBookId(Integer bookId) {
|
||||
this.bookId = bookId;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column lend_list.reader_id
|
||||
*
|
||||
* @return the value of lend_list.reader_id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Integer getReaderId() {
|
||||
return readerId;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column lend_list.reader_id
|
||||
*
|
||||
* @param readerId the value for lend_list.reader_id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setReaderId(Integer readerId) {
|
||||
this.readerId = readerId;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column lend_list.lend_date
|
||||
*
|
||||
* @return the value of lend_list.lend_date
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Date getLendDate() {
|
||||
return lendDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column lend_list.lend_date
|
||||
*
|
||||
* @param lendDate the value for lend_list.lend_date
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setLendDate(Date lendDate) {
|
||||
this.lendDate = lendDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column lend_list.back_date
|
||||
*
|
||||
* @return the value of lend_list.back_date
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Date getBackDate() {
|
||||
return backDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column lend_list.back_date
|
||||
*
|
||||
* @param backDate the value for lend_list.back_date
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setBackDate(Date backDate) {
|
||||
this.backDate = backDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column lend_list.back_type
|
||||
*
|
||||
* @return the value of lend_list.back_type
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Integer getBackType() {
|
||||
return backType;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column lend_list.back_type
|
||||
*
|
||||
* @param backType the value for lend_list.back_type
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setBackType(Integer backType) {
|
||||
this.backType = backType;
|
||||
}
|
||||
|
||||
public String getExceptRemarks() {
|
||||
return exceptRemarks;
|
||||
}
|
||||
|
||||
public void setExceptRemarks(String exceptRemarks) {
|
||||
this.exceptRemarks = exceptRemarks;
|
||||
}
|
||||
|
||||
public BookInfo getBookInfo() {
|
||||
return bookInfo;
|
||||
}
|
||||
|
||||
public void setBookInfo(BookInfo bookInfo) {
|
||||
this.bookInfo = bookInfo;
|
||||
}
|
||||
|
||||
public ReaderInfo getReaderInfo() {
|
||||
return readerInfo;
|
||||
}
|
||||
|
||||
public void setReaderInfo(ReaderInfo readerInfo) {
|
||||
this.readerInfo = readerInfo;
|
||||
}
|
||||
}
|
||||
@ -1,179 +0,0 @@
|
||||
package com.yx.po;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
public class Notice implements Serializable {
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column notice.id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column notice.topic
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String topic;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column notice.content
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column notice.author
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String author;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column notice.create_date
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//接收页面传来的时间格式
|
||||
@JSONField(format="yyyy-MM-dd HH:mm:ss")//对返回的时间对象用fastjson格式化时间
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database table notice
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column notice.id
|
||||
*
|
||||
* @return the value of notice.id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column notice.id
|
||||
*
|
||||
* @param id the value for notice.id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column notice.topic
|
||||
*
|
||||
* @return the value of notice.topic
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getTopic() {
|
||||
return topic;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column notice.topic
|
||||
*
|
||||
* @param topic the value for notice.topic
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setTopic(String topic) {
|
||||
this.topic = topic == null ? null : topic.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column notice.content
|
||||
*
|
||||
* @return the value of notice.content
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column notice.content
|
||||
*
|
||||
* @param content the value for notice.content
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setContent(String content) {
|
||||
this.content = content == null ? null : content.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column notice.author
|
||||
*
|
||||
* @return the value of notice.author
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getAuthor() {
|
||||
return author;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column notice.author
|
||||
*
|
||||
* @param author the value for notice.author
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setAuthor(String author) {
|
||||
this.author = author == null ? null : author.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column notice.create_date
|
||||
*
|
||||
* @return the value of notice.create_date
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Date getCreateDate() {
|
||||
return createDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column notice.create_date
|
||||
*
|
||||
* @param createDate the value for notice.create_date
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setCreateDate(Date createDate) {
|
||||
this.createDate = createDate;
|
||||
}
|
||||
}
|
||||
@ -1,373 +0,0 @@
|
||||
package com.yx.po;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
public class ReaderInfo implements Serializable {
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column reader_info.id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column reader_info.username
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String username;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column reader_info.password
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String password;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column reader_info.number
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column reader_info.real_name
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String realName;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column reader_info.sex
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String sex;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column reader_info.birthday
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private Date birthday;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column reader_info.address
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String address;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column reader_info.tel
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String tel;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column reader_info.email
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String email;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column reader_info.register_date
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private Date registerDate;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column reader_info.reader_number
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String readerNumber;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database table reader_info
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column reader_info.id
|
||||
*
|
||||
* @return the value of reader_info.id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column reader_info.id
|
||||
*
|
||||
* @param id the value for reader_info.id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column reader_info.username
|
||||
*
|
||||
* @return the value of reader_info.username
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column reader_info.username
|
||||
*
|
||||
* @param username the value for reader_info.username
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setUsername(String username) {
|
||||
this.username = username == null ? null : username.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column reader_info.password
|
||||
*
|
||||
* @return the value of reader_info.password
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column reader_info.password
|
||||
*
|
||||
* @param password the value for reader_info.password
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setPassword(String password) {
|
||||
this.password = password == null ? null : password.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column reader_info.real_name
|
||||
*
|
||||
* @return the value of reader_info.real_name
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getRealName() {
|
||||
return realName;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column reader_info.real_name
|
||||
*
|
||||
* @param realName the value for reader_info.real_name
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setRealName(String realName) {
|
||||
this.realName = realName == null ? null : realName.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column reader_info.sex
|
||||
*
|
||||
* @return the value of reader_info.sex
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getSex() {
|
||||
return sex;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column reader_info.sex
|
||||
*
|
||||
* @param sex the value for reader_info.sex
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setSex(String sex) {
|
||||
this.sex = sex == null ? null : sex.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column reader_info.birthday
|
||||
*
|
||||
* @return the value of reader_info.birthday
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Date getBirthday() {
|
||||
return birthday;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column reader_info.birthday
|
||||
*
|
||||
* @param birthday the value for reader_info.birthday
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setBirthday(Date birthday) {
|
||||
this.birthday = birthday;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column reader_info.address
|
||||
*
|
||||
* @return the value of reader_info.address
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column reader_info.address
|
||||
*
|
||||
* @param address the value for reader_info.address
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setAddress(String address) {
|
||||
this.address = address == null ? null : address.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column reader_info.tel
|
||||
*
|
||||
* @return the value of reader_info.tel
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getTel() {
|
||||
return tel;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column reader_info.tel
|
||||
*
|
||||
* @param tel the value for reader_info.tel
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setTel(String tel) {
|
||||
this.tel = tel == null ? null : tel.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column reader_info.email
|
||||
*
|
||||
* @return the value of reader_info.email
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column reader_info.email
|
||||
*
|
||||
* @param email the value for reader_info.email
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setEmail(String email) {
|
||||
this.email = email == null ? null : email.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column reader_info.register_date
|
||||
*
|
||||
* @return the value of reader_info.register_date
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Date getRegisterDate() {
|
||||
return registerDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column reader_info.register_date
|
||||
*
|
||||
* @param registerDate the value for reader_info.register_date
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setRegisterDate(Date registerDate) {
|
||||
this.registerDate = registerDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column reader_info.reader_number
|
||||
*
|
||||
* @return the value of reader_info.reader_number
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getReaderNumber() {
|
||||
return readerNumber;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column reader_info.reader_number
|
||||
*
|
||||
* @param readerNumber the value for reader_info.reader_number
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setReaderNumber(String readerNumber) {
|
||||
this.readerNumber = readerNumber == null ? null : readerNumber.trim();
|
||||
}
|
||||
}
|
||||
@ -1,103 +0,0 @@
|
||||
package com.yx.po;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class TypeInfo implements Serializable {
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column type_info.id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column type_info.name
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String name;
|
||||
|
||||
public String getRemarks() {
|
||||
return remarks;
|
||||
}
|
||||
|
||||
public void setRemarks(String remarks) {
|
||||
this.remarks = remarks;
|
||||
}
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column type_info.reamrks
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private String remarks;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database table type_info
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column type_info.id
|
||||
*
|
||||
* @return the value of type_info.id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column type_info.id
|
||||
*
|
||||
* @param id the value for type_info.id
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column type_info.name
|
||||
*
|
||||
* @return the value of type_info.name
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column type_info.name
|
||||
*
|
||||
* @param name the value for type_info.name
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
public void setName(String name) {
|
||||
this.name = name == null ? null : name.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column type_info.reamrks
|
||||
*
|
||||
* @return the value of type_info.reamrks
|
||||
*
|
||||
* @mbggenerated Tue Mar 30 16:30:04 CST 2021
|
||||
*/
|
||||
|
||||
}
|
||||
@ -1,185 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.yx</groupId>
|
||||
<artifactId>LibraryProject</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<packaging>war</packaging>
|
||||
|
||||
<name>LibraryProject Maven Webapp</name>
|
||||
<url>http://www.example.com</url>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<spring.version>5.1.3.RELEASE</spring.version>
|
||||
<slf4j.version>1.6.6</slf4j.version>
|
||||
<log4j.version>1.2.12</log4j.version>
|
||||
<mysql.version>5.1.6</mysql.version>
|
||||
<mybatis.version>3.4.5</mybatis.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- spring -->
|
||||
<dependency>
|
||||
<groupId>org.aspectj</groupId>
|
||||
<artifactId>aspectjweaver</artifactId>
|
||||
<version>1.6.8</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-aop</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-context</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-web</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-webmvc</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-test</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-tx</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-jdbc</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.12</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<version>8.0.11</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>javax.servlet</groupId>
|
||||
<artifactId>servlet-api</artifactId>
|
||||
<version>2.5</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>javax.servlet.jsp</groupId>
|
||||
<artifactId>jsp-api</artifactId>
|
||||
<version>2.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>jstl</groupId>
|
||||
<artifactId>jstl</artifactId>
|
||||
<version>1.2</version>
|
||||
</dependency>
|
||||
<!--fastjson-->
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<version>1.2.54</version>
|
||||
</dependency>
|
||||
<!-- log start -->
|
||||
<dependency>
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
<version>1.2.12</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<version>1.6.6</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-log4j12</artifactId>
|
||||
<version>${slf4j.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- log end -->
|
||||
<dependency>
|
||||
<groupId>org.mybatis</groupId>
|
||||
<artifactId>mybatis</artifactId>
|
||||
<version>${mybatis.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.mybatis</groupId>
|
||||
<artifactId>mybatis-spring</artifactId>
|
||||
<version>1.3.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
<version>3.4</version>
|
||||
</dependency>
|
||||
|
||||
<!--druid连接池-->
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>druid</artifactId>
|
||||
<version>1.1.16</version>
|
||||
</dependency>
|
||||
<!--分页-->
|
||||
<dependency>
|
||||
<groupId>com.github.pagehelper</groupId>
|
||||
<artifactId>pagehelper</artifactId>
|
||||
<version>5.1.10</version>
|
||||
</dependency>
|
||||
<!--mybatis逆向工程依赖-->
|
||||
<dependency>
|
||||
<groupId>org.mybatis.generator</groupId>
|
||||
<artifactId>mybatis-generator-core</artifactId>
|
||||
<version>1.3.7</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.mybatis.generator</groupId>
|
||||
<artifactId>mybatis-generator-maven-plugin</artifactId>
|
||||
<version>1.3.2</version>
|
||||
<configuration>
|
||||
<verbose>true</verbose>
|
||||
<overwrite>true</overwrite>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
@ -1,52 +0,0 @@
|
||||
package com.yx.service.impl;
|
||||
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.yx.dao.BookInfoMapper;
|
||||
import com.yx.po.BookInfo;
|
||||
import com.yx.service.BookInfoService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service("bookInfoService")
|
||||
public class BookInfoServiceImpl implements BookInfoService {
|
||||
|
||||
@Autowired
|
||||
private BookInfoMapper bookInfoMapper;
|
||||
|
||||
@Override
|
||||
public PageInfo<BookInfo> queryBookInfoAll(BookInfo bookInfo, Integer pageNum, Integer limit) {
|
||||
PageHelper.startPage(pageNum,limit);
|
||||
List<BookInfo> bookInfoList = bookInfoMapper.queryBookInfoAll(bookInfo);
|
||||
return new PageInfo<>(bookInfoList);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addBookSubmit(BookInfo bookInfo) {
|
||||
bookInfoMapper.insert(bookInfo);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BookInfo queryBookInfoById(Integer id) {
|
||||
return bookInfoMapper.selectByPrimaryKey(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateBookSubmit(BookInfo info) {
|
||||
bookInfoMapper.updateByPrimaryKeySelective(info);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteBookByIds(List<String> ids) {
|
||||
for (String id : ids){
|
||||
bookInfoMapper.deleteByPrimaryKey(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<BookInfo> getBookCountByType() {
|
||||
return bookInfoMapper.getBookCountByType();
|
||||
}
|
||||
}
|
||||
@ -1,38 +0,0 @@
|
||||
package com.yx.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.yx.po.BookInfo;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface BookInfoService {
|
||||
|
||||
/**
|
||||
* 查询所有记录
|
||||
*/
|
||||
PageInfo<BookInfo> queryBookInfoAll(BookInfo bookInfo,Integer pageNum,Integer limit);
|
||||
|
||||
/**
|
||||
* 添加图书记录
|
||||
*/
|
||||
void addBookSubmit(BookInfo bookInfo);
|
||||
/**
|
||||
* 修改 根据id查询记录信息
|
||||
*/
|
||||
BookInfo queryBookInfoById(Integer id);
|
||||
|
||||
/**
|
||||
* 修改提交
|
||||
*/
|
||||
void updateBookSubmit(BookInfo info);
|
||||
|
||||
/**
|
||||
* 根据ids删除记录信息
|
||||
*/
|
||||
void deleteBookByIds(List<String> ids);
|
||||
|
||||
/**
|
||||
* 根据类型获取图书数量
|
||||
*/
|
||||
List<BookInfo> getBookCountByType();
|
||||
}
|
||||
@ -1,36 +0,0 @@
|
||||
package com.yx.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.yx.po.LendList;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface LendListService {
|
||||
|
||||
//分页查询
|
||||
PageInfo<LendList> queryLendListAll(LendList lendList, int page, int limit);
|
||||
|
||||
//添加借阅记录
|
||||
void addLendListSubmit(LendList lendList);
|
||||
|
||||
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
void deleteLendListById(List<String> ids, List<String> bookIds);
|
||||
|
||||
/**
|
||||
* 还书
|
||||
*/
|
||||
void updateLendListSubmit(List<String> ids, List<String> bookIds);
|
||||
|
||||
/**
|
||||
* 异常还书
|
||||
*/
|
||||
void backBook(LendList lendList);
|
||||
|
||||
/**
|
||||
* 时间线查询
|
||||
*/
|
||||
List<LendList> queryLookBookList(Integer rid, Integer bid);
|
||||
}
|
||||
@ -1,34 +0,0 @@
|
||||
package com.yx.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.yx.po.TypeInfo;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface TypeInfoService {
|
||||
/**
|
||||
* 查询所有记录
|
||||
*/
|
||||
PageInfo<TypeInfo> queryTypeInfoAll(String name, Integer pageNum, Integer limit);
|
||||
|
||||
/**
|
||||
* 添加图书类型
|
||||
*/
|
||||
void addTypeSubmit(TypeInfo info);
|
||||
|
||||
/**
|
||||
* 修改 根据id查询记录信息
|
||||
*/
|
||||
TypeInfo queryTypeInfoById(Integer id);
|
||||
|
||||
/**
|
||||
* 修改提交
|
||||
*/
|
||||
void updateTypeSubmit(TypeInfo info);
|
||||
|
||||
/**
|
||||
* 根据ids删除记录信息
|
||||
*/
|
||||
void deleteTypeByIds(List<String> id);
|
||||
|
||||
}
|
||||
@ -1,52 +0,0 @@
|
||||
package com.yx.service.impl;
|
||||
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.yx.dao.BookInfoMapper;
|
||||
import com.yx.po.BookInfo;
|
||||
import com.yx.service.BookInfoService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service("bookInfoService")
|
||||
public class BookInfoServiceImpl implements BookInfoService {
|
||||
|
||||
@Autowired
|
||||
private BookInfoMapper bookInfoMapper;
|
||||
|
||||
@Override
|
||||
public PageInfo<BookInfo> queryBookInfoAll(BookInfo bookInfo, Integer pageNum, Integer limit) {
|
||||
PageHelper.startPage(pageNum,limit);
|
||||
List<BookInfo> bookInfoList = bookInfoMapper.queryBookInfoAll(bookInfo);
|
||||
return new PageInfo<>(bookInfoList);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addBookSubmit(BookInfo bookInfo) {
|
||||
bookInfoMapper.insert(bookInfo);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BookInfo queryBookInfoById(Integer id) {
|
||||
return bookInfoMapper.selectByPrimaryKey(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateBookSubmit(BookInfo info) {
|
||||
bookInfoMapper.updateByPrimaryKeySelective(info);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteBookByIds(List<String> ids) {
|
||||
for (String id : ids){
|
||||
bookInfoMapper.deleteByPrimaryKey(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<BookInfo> getBookCountByType() {
|
||||
return bookInfoMapper.getBookCountByType();
|
||||
}
|
||||
}
|
||||
@ -1,100 +0,0 @@
|
||||
package com.yx.service.impl;
|
||||
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.yx.dao.BookInfoMapper;
|
||||
import com.yx.dao.LendListMapper;
|
||||
import com.yx.po.BookInfo;
|
||||
import com.yx.po.LendList;
|
||||
import com.yx.service.LendListService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@Service("lendListService")
|
||||
public class LendListServiceImpl implements LendListService {
|
||||
|
||||
@Autowired
|
||||
private LendListMapper lendListMapper;
|
||||
@Autowired
|
||||
private BookInfoMapper bookInfoMapper;
|
||||
|
||||
|
||||
@Override
|
||||
public PageInfo<LendList> queryLendListAll(LendList lendList, int page, int limit) {
|
||||
PageHelper.startPage(page,limit);
|
||||
List<LendList> list=lendListMapper.queryLendListAll(lendList);
|
||||
|
||||
PageInfo pageInfo=new PageInfo(list);
|
||||
return pageInfo;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addLendListSubmit(LendList lendList) {
|
||||
lendListMapper.insert(lendList);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void deleteLendListById(List<String> ids, List<String> bookIds) {
|
||||
|
||||
//删除借阅记录
|
||||
for(String id:ids){
|
||||
lendListMapper.deleteByPrimaryKey(Integer.parseInt(id));
|
||||
}
|
||||
//更改图书标识,更新状态为未借出
|
||||
for(String bid:bookIds){
|
||||
//根据id查询图书记录信息
|
||||
BookInfo bookInfo=bookInfoMapper.selectByPrimaryKey(Integer.parseInt(bid));
|
||||
bookInfo.setStatus(0);//该为未借出
|
||||
bookInfoMapper.updateByPrimaryKey(bookInfo);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateLendListSubmit(List<String> ids, List<String> bookIds) {
|
||||
for(String id:ids){
|
||||
//根据id查询借阅记录信息
|
||||
LendList lendList=new LendList();
|
||||
lendList.setId(Integer.parseInt(id));
|
||||
lendList.setBackDate(new Date());
|
||||
lendList.setBackType(0);//正常还书
|
||||
lendListMapper.updateLendListSubmit(lendList);//如果用updatePrimarykey会默认很多赋值为空
|
||||
}
|
||||
//修改书的状态
|
||||
//更改图书标识,更新状态为未借出
|
||||
for(String bid:bookIds){
|
||||
//根据id查询图书记录信息
|
||||
BookInfo bookInfo=bookInfoMapper.selectByPrimaryKey(Integer.parseInt(bid));
|
||||
bookInfo.setStatus(0);//该为未借出
|
||||
bookInfoMapper.updateByPrimaryKey(bookInfo);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void backBook(LendList lendList) {
|
||||
LendList lend=new LendList();
|
||||
lend.setId(lendList.getId());
|
||||
lend.setBackType(lendList.getBackType());
|
||||
lend.setBackDate(new Date());
|
||||
lend.setExceptRemarks(lendList.getExceptRemarks());
|
||||
lend.setBookId(lendList.getBookId());
|
||||
lendListMapper.updateLendListSubmit(lend);
|
||||
//判断异常还书 如果是延期或者正常还书,需要更改书的状态
|
||||
if(lend.getBackType()==0 || lend.getBackType()==1){
|
||||
BookInfo bookInfo=bookInfoMapper.selectByPrimaryKey(lend.getBookId());
|
||||
bookInfo.setStatus(0);//该为未借出
|
||||
bookInfoMapper.updateByPrimaryKey(bookInfo);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<LendList> queryLookBookList(Integer rid, Integer bid) {
|
||||
return lendListMapper.queryLookBookList(rid, bid);
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,42 +0,0 @@
|
||||
package com.yx.service.impl;
|
||||
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.yx.dao.NoticeMapper;
|
||||
import com.yx.po.Notice;
|
||||
import com.yx.service.NoticeService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service("noticeService")
|
||||
public class NoticeServiceImpl implements NoticeService {
|
||||
|
||||
@Autowired
|
||||
private NoticeMapper noticeMapper;
|
||||
|
||||
@Override
|
||||
public PageInfo<Notice> queryAllNotice(Notice notice, Integer pageNum, Integer limit) {
|
||||
PageHelper.startPage(pageNum,limit);//业务层实现分页
|
||||
List<Notice> noticeList = noticeMapper.queryNoticeAll(notice);
|
||||
return new PageInfo<>(noticeList);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addNotice(Notice notice) {
|
||||
noticeMapper.insert(notice);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Notice queryNoticeById(Integer id) {
|
||||
return noticeMapper.selectByPrimaryKey(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteNoticeByIds(List<String> ids) {
|
||||
for (String id : ids){
|
||||
noticeMapper.deleteByPrimaryKey(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,52 +0,0 @@
|
||||
package com.yx.service.impl;
|
||||
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.yx.dao.ReaderInfoMapper;
|
||||
import com.yx.po.ReaderInfo;
|
||||
import com.yx.service.ReaderInfoService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service("readerInfoService")
|
||||
public class ReaderInfoServiceImpl implements ReaderInfoService {
|
||||
|
||||
@Autowired
|
||||
private ReaderInfoMapper readerInfoMapper;
|
||||
|
||||
@Override
|
||||
public PageInfo<ReaderInfo> queryAllReaderInfo(ReaderInfo readerInfo, Integer pageNum, Integer limit) {
|
||||
PageHelper.startPage(pageNum,limit);
|
||||
List<ReaderInfo> readerInfoList = readerInfoMapper.queryAllReaderInfo(readerInfo);
|
||||
return new PageInfo<>(readerInfoList);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addReaderInfoSubmit(ReaderInfo readerInfo) {
|
||||
readerInfoMapper.insert(readerInfo);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ReaderInfo queryReaderInfoById(Integer id) {
|
||||
return readerInfoMapper.selectByPrimaryKey(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateReaderInfoSubmit(ReaderInfo readerInfo) {
|
||||
readerInfoMapper.updateByPrimaryKey(readerInfo);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteReaderInfoByIds(List<String> ids) {
|
||||
for (String id : ids){
|
||||
readerInfoMapper.deleteByPrimaryKey(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public ReaderInfo queryUserInfoByNameAndPassword(String username, String password) {
|
||||
return readerInfoMapper.queryUserInfoByNameAndPassword(username, password);
|
||||
}
|
||||
}
|
||||
@ -1,52 +0,0 @@
|
||||
package com.yx.service.impl;
|
||||
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.yx.dao.TypeInfoMapper;
|
||||
import com.yx.po.TypeInfo;
|
||||
import com.yx.service.TypeInfoService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@Service("typeInfoService")
|
||||
public class TypeInfoServiceImpl implements TypeInfoService {
|
||||
|
||||
@Autowired
|
||||
private TypeInfoMapper typeInfoMapper;
|
||||
@Override
|
||||
public PageInfo<TypeInfo> queryTypeInfoAll(String name,Integer pageNum,Integer limit) {
|
||||
PageHelper.startPage(pageNum,limit);
|
||||
List<TypeInfo> typeInfoList = typeInfoMapper.queryTypeInfoAll(name);
|
||||
return new PageInfo<>(typeInfoList);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addTypeSubmit(TypeInfo info) {
|
||||
typeInfoMapper.addTypeSubmit(info);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TypeInfo queryTypeInfoById(Integer id) {
|
||||
return typeInfoMapper.queryTypeInfoById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateTypeSubmit(TypeInfo info) {
|
||||
typeInfoMapper.updateTypeSubmit(info);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteTypeByIds(List<String> id) {
|
||||
List<Integer> list=new ArrayList<>();
|
||||
for(String cid:id){
|
||||
int id2= Integer.valueOf(cid);
|
||||
list.add(id2);
|
||||
}
|
||||
typeInfoMapper.deleteTypeByIds(list);
|
||||
}
|
||||
|
||||
}
|
||||