1
0
mirror of https://github.com/ZSCNetSupportDept/website.git synced 2025-12-26 21:11:12 +08:00

更新新系统文档

This commit is contained in:
govolokatliai
2025-11-04 08:28:23 +08:00
parent b84e258362
commit 5ba739e4fd
8 changed files with 34 additions and 3 deletions

View File

@@ -65,7 +65,7 @@ description: 数据库的枚举类型说明
- `fresh`:新报修,待解决 - `fresh`:新报修,待解决
- `scheduled`:已预约,指定一个时间让网维成员上门解决 - `scheduled`:已预约,指定一个时间让网维成员上门解决
- `no-present`:没人 - `no-present`:没人
- `reported`:已经上报 - `escalated`:已经上报
- `solved`:已解决 - `solved`:已解决
- `canceled`:已取消,用户取消报修或被长期无人系统自动打回 - `canceled`:已取消,用户取消报修或被长期无人系统自动打回
## wts.priority ## wts.priority

View File

@@ -0,0 +1 @@
# 索引

View File

@@ -4,3 +4,27 @@ description: 数据库的schema与表结构
--- ---
# 表结构 # 表结构
![illustration](/img/devdocs/wts3-dbDesign-first-draft.png)
## 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|

View File

@@ -0,0 +1 @@
# 视图

View File

@@ -0,0 +1 @@
# 触发器

View File

@@ -29,6 +29,10 @@
> 25新生之前手机号后六位错误的话尝试在"中国移动"APP重置或拨打10086转人工重置 > 25新生之前手机号后六位错误的话尝试在"中国移动"APP重置或拨打10086转人工重置
### 认证方式 ### 认证方式
> ePortal认证见此[Click Me](/docs/wiki/技能/电脑技能/拨号#移动) > 使用锐捷"ePortal"网页认证,见此:[Click Me](/docs/wiki/技能/电脑技能/拨号#移动)
>
>
>
>涉及两套账密1. 用户在ePortal系统注册的账号学号作为账号初始密码是学号后六位2. 用户的运营商账号,即为原来的账号,初始密码和账号格式在上面
--- ---

View File

@@ -26,6 +26,6 @@
> `900.gd`,错误的话尝试在"中国联通"APP重置或拨打10010转人工重置 > `900.gd`,错误的话尝试在"中国联通"APP重置或拨打10010转人工重置
### 认证方式 ### 认证方式
> 操作系统自带的拨号方式,详见:[这里](/docs/wiki/杂项/联通拨号导论和常规排障#拨号的方式) > 使用OS自带的PPPoE拨号认证,详见:[这里](/docs/wiki/杂项/联通拨号导论和常规排障#拨号的方式)
--- ---

Binary file not shown.

After

Width:  |  Height:  |  Size: 632 KiB