Repository navigation
Expand file tree
/
Copy pathdb.jade
More file actions
82 lines (79 loc) · 1.5 KB
/
Copy pathdb.jade
File metadata and controls
82 lines (79 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
link(rel="stylesheet" href="style.css")
a(href="/dw") >数据仓库
h1 业务数据库
.row
.span
table
caption 客户
thead
tr
th id
th 姓名
th 地址
th 地区id
tbody
each item in customers
tr
td #{item.id}
td #{item.name}
td #{item.address}
td #{item.region_id}
.span
table
caption 地区
thead
tr
th id
th 名称
tbody
each item in regions
tr
td #{item.id}
td #{item.name}
.span
table
caption 商品
thead
tr
th id
th 名称
tbody
each item in products
tr
td #{item.id}
td #{item.name}
.row
.span
table
caption 订单
thead
tr
th id
th 订单日期
th 交货日期
th 总金额
tbody
each item in orders
tr
td #{item.id}
td #{item.order_date}
td #{item.consign_date}
td #{item.totalprice}
.span
table
caption 订单明细
thead
tr
th id
th 订单id
th 商品id
th 单价
th 数量
tbody
each item in orderspec
tr
td #{item.id}
td #{item.order_id}
td #{item.product_id}
td #{item.eachprice}
td #{item.num}