mirror of
https://github.com/ZSCNetSupportDept/website.git
synced 2025-12-26 21:11:12 +08:00
更新新系统文档
This commit is contained in:
@@ -65,7 +65,7 @@ description: 数据库的枚举类型说明
|
||||
- `fresh`:新报修,待解决
|
||||
- `scheduled`:已预约,指定一个时间让网维成员上门解决
|
||||
- `no-present`:没人
|
||||
- `reported`:已经上报
|
||||
- `escalated`:已经上报
|
||||
- `solved`:已解决
|
||||
- `canceled`:已取消,用户取消报修或被长期无人系统自动打回
|
||||
## wts.priority
|
||||
|
||||
1
docs/devdocs/02-网维报修系统/数据库设计/索引.md
Normal file
1
docs/devdocs/02-网维报修系统/数据库设计/索引.md
Normal file
@@ -0,0 +1 @@
|
||||
# 索引
|
||||
@@ -4,3 +4,27 @@ description: 数据库的schema与表结构
|
||||
|
||||
---
|
||||
# 表结构
|
||||

|
||||
|
||||
## schema:data
|
||||
data中存放的是系统运行的数据
|
||||
### data.students
|
||||
学校所有学生的姓名和学号,系统依赖于这个表运行,记录由管理人员负责插入,从学校那里拿数据,每年一般都是由开发组组长负责
|
||||
|列名|类型|属性|配置|备注|
|
||||
|-|-|-|-|-|
|
||||
|sid|text|主键||学号|
|
||||
|name|text|||姓名|
|
||||
## shcema:wts
|
||||
报修系统的主数据库
|
||||
|
||||
### wts.users
|
||||
报修系统的用户,在注册时需要与data.students校验
|
||||
|列名|类型|属性|配置|备注|
|
||||
|-|-|-|-|-|
|
||||
|sid|text|主键,外键->data.students.sid|on delete restrict,on update cascade|用户的学号|
|
||||
|phone|text|unique||手机号|
|
||||
|block|wts.block|||住哪栋|
|
||||
|room|text|||住哪间|
|
||||
|isp|wts.isp|||运营商|
|
||||
|account|text|unique||账号|
|
||||
|wx|text|unique,not null||微信(OpenID)|
|
||||
|
||||
1
docs/devdocs/02-网维报修系统/数据库设计/视图.md
Normal file
1
docs/devdocs/02-网维报修系统/数据库设计/视图.md
Normal file
@@ -0,0 +1 @@
|
||||
# 视图
|
||||
1
docs/devdocs/02-网维报修系统/数据库设计/触发器.md
Normal file
1
docs/devdocs/02-网维报修系统/数据库设计/触发器.md
Normal file
@@ -0,0 +1 @@
|
||||
# 触发器
|
||||
@@ -29,6 +29,10 @@
|
||||
> 25新生之前:手机号后六位,错误的话尝试在"中国移动"APP重置,或拨打10086转人工重置
|
||||
|
||||
### 认证方式
|
||||
> ePortal认证,见此:[Click Me](/docs/wiki/技能/电脑技能/拨号#移动)
|
||||
> 使用锐捷"ePortal"网页认证,见此:[Click Me](/docs/wiki/技能/电脑技能/拨号#移动)
|
||||
>
|
||||
>
|
||||
>
|
||||
>涉及两套账密:1. 用户在ePortal系统注册的账号,学号作为账号;初始密码是学号后六位;2. 用户的运营商账号,即为原来的账号,初始密码和账号格式在上面
|
||||
|
||||
---
|
||||
|
||||
@@ -26,6 +26,6 @@
|
||||
> `900.gd`,错误的话尝试在"中国联通"APP重置,或拨打10010转人工重置
|
||||
|
||||
### 认证方式
|
||||
> 操作系统自带的拨号方式,详见:[这里](/docs/wiki/杂项/联通拨号导论和常规排障#拨号的方式)
|
||||
> 使用OS自带的PPPoE拨号认证,详见:[这里](/docs/wiki/杂项/联通拨号导论和常规排障#拨号的方式)
|
||||
|
||||
---
|
||||
|
||||
BIN
static/img/devdocs/wts3-dbDesign-first-draft.png
Normal file
BIN
static/img/devdocs/wts3-dbDesign-first-draft.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 632 KiB |
Reference in New Issue
Block a user