File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ description: 数据库的枚举类型说明
6565- ` fresh ` :新报修,待解决
6666- ` scheduled ` :已预约,指定一个时间让网维成员上门解决
6767- ` no-present ` :没人
68- - ` reported ` :已经上报
68+ - ` escalated ` :已经上报
6969- ` solved ` :已解决
7070- ` canceled ` :已取消,用户取消报修或被长期无人系统自动打回
7171## wts.priority
Original file line number Diff line number Diff line change 1+ # 索引
Original file line number Diff line number Diff line change @@ -4,3 +4,27 @@ description: 数据库的schema与表结构
44
55---
66# 表结构
7+ ![ illustration] ( /img/devdocs/wts3-dbDesign-first-draft.png )
8+
9+ ## schema: data
10+ data中存放的是系统运行的数据
11+ ### data.students
12+ 学校所有学生的姓名和学号,系统依赖于这个表运行,记录由管理人员负责插入,从学校那里拿数据,每年一般都是由开发组组长负责
13+ | 列名| 类型| 属性| 配置| 备注|
14+ | -| -| -| -| -|
15+ | sid| text| 主键|| 学号|
16+ | name| text||| 姓名|
17+ ## shcema: wts
18+ 报修系统的主数据库
19+
20+ ### wts.users
21+ 报修系统的用户,在注册时需要与data.students校验
22+ | 列名| 类型| 属性| 配置| 备注|
23+ | -| -| -| -| -|
24+ | sid| text| 主键,外键->data.students.sid| on delete restrict,on update cascade| 用户的学号|
25+ | phone| text| unique|| 手机号|
26+ | block| wts.block||| 住哪栋|
27+ | room| text||| 住哪间|
28+ | isp| wts.isp||| 运营商|
29+ | account| text| unique|| 账号|
30+ | wx| text| unique,not null|| 微信(OpenID)|
Original file line number Diff line number Diff line change 1+ # 视图
Original file line number Diff line number Diff line change 1+ # 触发器
Original file line number Diff line number Diff line change 2929> 25新生之前:手机号后六位,错误的话尝试在"中国移动"APP重置,或拨打10086转人工重置
3030
3131### 认证方式
32- > ePortal认证,见此:[ Click Me] ( /docs/wiki/技能/电脑技能/拨号#移动 )
32+ > 使用锐捷"ePortal"网页认证,见此:[ Click Me] ( /docs/wiki/技能/电脑技能/拨号#移动 )
33+ >
34+ >
35+ >
36+ > 涉及两套账密:1. 用户在ePortal系统注册的账号,学号作为账号;初始密码是学号后六位;2. 用户的运营商账号,即为原来的账号,初始密码和账号格式在上面
3337
3438---
Original file line number Diff line number Diff line change 2626> ` 900.gd ` ,错误的话尝试在"中国联通"APP重置,或拨打10010转人工重置
2727
2828### 认证方式
29- > 操作系统自带的拨号方式 ,详见:[ 这里] ( /docs/wiki/杂项/联通拨号导论和常规排障#拨号的方式 )
29+ > 使用OS自带的PPPoE拨号认证 ,详见:[ 这里] ( /docs/wiki/杂项/联通拨号导论和常规排障#拨号的方式 )
3030
3131---
You can’t perform that action at this time.
0 commit comments