Ver a proveniência

add neupos

master
xiaohanzi há 3 anos
cometimento
6cc03f63c2
100 ficheiros alterados com 87614 adições e 0 eliminações
  1. BIN
      doc/UE交互/0126/POS端交互.zip
  2. BIN
      doc/UE交互/0126/交互.zip
  3. BIN
      doc/UE交互/POS支付应用/客屏- 微信(不含列表).jpg
  4. BIN
      doc/UE交互/POS支付应用/客屏- 支付宝(不含列表).jpg
  5. BIN
      doc/UE交互/POS支付应用/客屏1(不含列表).jpg
  6. BIN
      doc/UE交互/POS支付应用/收银管理-金额-其他支付方式-交易成功.jpg
  7. BIN
      doc/UE交互/POS支付应用/收银管理-金额-其他支付方式.jpg
  8. BIN
      doc/UE交互/POS支付应用/收银管理-金额3.jpg
  9. BIN
      doc/UE交互/POS支付应用/独立收银应用.png
  10. BIN
      doc/接口文档/01.中小型零售行业精简标准化解决方案使用接口API_v1.0.docx
  11. BIN
      doc/接口文档/02.OTA服务使用接口API_v1.0.docx
  12. BIN
      doc/接口文档/03.设备管理及配置服务使用接口API_v1.0.docx
  13. BIN
      doc/接口文档/04.广告服务使用接口API_v1.0.docx
  14. BIN
      doc/接口文档/05.集团及门店服务使用接口API_v1.0.docx
  15. BIN
      doc/接口文档/05.集团及门店服务使用接口API_v1.1.docx
  16. BIN
      doc/接口文档/06.商品管理服务使用接口API_v1.0.docx
  17. BIN
      doc/接口文档/07.交易管理服务使用接口API_v1.0.docx
  18. BIN
      doc/接口文档/08.权限管理服务使用接口API_v1.0.docx
  19. BIN
      doc/接口文档/09.支付管理服务使用接口API_v1.0.docx
  20. BIN
      doc/接口文档/10.用户、权限接口文档.docx
  21. +183
    -0
      doc/接口文档/10.用户、权限接口文档.md
  22. BIN
      doc/接口文档/11.会员服务使用接口API_v1.0.docx
  23. BIN
      doc/接口文档/12.进销存服务使用接口API_v1.0.docx
  24. BIN
      doc/接口文档/商品管理接口文档.pdf
  25. BIN
      doc/接口文档/已实现的接口和权限.pdf
  26. BIN
      doc/操作手册/POS端支付应用使用手册V1.0.docx
  27. BIN
      doc/操作手册/东软智能POS管理平台产品功能列表.docx
  28. BIN
      doc/操作手册/东软智能云POS管理系统-门店用户操作手册2019.1.7.docx
  29. BIN
      doc/操作手册/东软智能云POS管理系统-集团操作手册2019.1.7.docx
  30. BIN
      doc/操作手册/东软智能云POS零售系统-POS端使用手册.docx
  31. BIN
      doc/操作手册/东软智能云POS餐饮系统-微信点餐使用手册V1.0_2019.1.7.docx
  32. BIN
      doc/操作手册/云POS餐饮系统POS端使用手册V2.0.docx
  33. BIN
      doc/操作手册/北国商场的操作手册/东软智能云POS管理系统-商场管理人员操作手册.docx
  34. BIN
      doc/操作手册/北国商场的操作手册/东软智能云POS管理系统-管理平台商户操作手册.docx
  35. BIN
      doc/操作手册/北国商场的操作手册/东软智能云POS餐饮系统-POS端使用手册.docx
  36. BIN
      doc/操作手册/支付应用录屏.zip
  37. BIN
      doc/操作手册/智能云POS管理平台-门店用户操作手册简化版2018.7.24.docx
  38. BIN
      doc/操作手册/智能云POS管理平台-集团用户操作手册20180613.docx
  39. BIN
      doc/操作手册/智能云POS管理平台1期-单门店用户操作手册1.2(2).docx
  40. BIN
      doc/操作手册/智能云POS管理平台1期-门店用户操作手册1.0(2).docx
  41. BIN
      doc/操作手册/智能云POS管理平台1期-集团用户操作手册1.0(2).docx
  42. BIN
      doc/操作手册/智能云POS管理平台2期-单门店用户操作手册20180522.docx
  43. BIN
      doc/操作手册/智能云POS管理平台2期-移动端操作手册20180522.docx
  44. BIN
      doc/操作手册/智能云POS管理平台2期-门店用户操作手册20180522.docx
  45. BIN
      doc/操作手册/智能云POS管理平台2期-集团用户操作手册20180522.docx
  46. BIN
      doc/操作手册/智能云POS管理系统-单门店用户操作手册20180613.docx
  47. BIN
      doc/操作手册/智能云POS管理系统-门店用户操作手册20180613.docx
  48. BIN
      doc/操作手册/智能云POS管理系统零售业务操作手册1.0.docx
  49. BIN
      doc/操作手册/沈阳食堂账号开通手册.docx
  50. BIN
      doc/操作手册/账号信息.zip
  51. BIN
      doc/操作手册/餐后结算系统操作手册/POS餐饮后结系统POS端使用手册V1.0_20180815.docx
  52. BIN
      doc/操作手册/餐后结算系统操作手册/POS餐饮后结系统微信点餐使用手册V1.0_20180815.docx
  53. BIN
      doc/操作手册/餐后结算系统操作手册/POS餐饮后结系统管理平台使用手册V1.0_20180815.docx
  54. BIN
      doc/操作手册/餐饮单门店演示视频.mp4
  55. +10
    -0
      doc/数据库设计/Workspace.sws
  56. +10
    -0
      doc/数据库设计/Workspace_goods.sws
  57. +26198
    -0
      doc/数据库设计/ota.pdb
  58. +26213
    -0
      doc/数据库设计/ota.pdm
  59. +4595
    -0
      doc/数据库设计/会员管理.pdb
  60. +4595
    -0
      doc/数据库设计/会员管理.pdm
  61. +174
    -0
      doc/数据库设计/数据库初始化sql
  62. +23
    -0
      doc/数据库设计/数据库记录删除sql.txt
  63. +9981
    -0
      doc/数据库设计/生产系统初始化数据库结构20180621.sql
  64. +6866
    -0
      doc/数据库设计/菜品转化商品.pdb
  65. +6890
    -0
      doc/数据库设计/菜品转化商品.pdm
  66. BIN
      doc/系统设计文档/~$型零售行业精简标准化解决方案详细设计文档.docx
  67. BIN
      doc/系统设计文档/中小型零售行业精简标准化解决方案详细设计文档.docx
  68. BIN
      doc/系统设计文档/库存管理设计文档/下单库存管理流程图.jpg
  69. BIN
      doc/系统设计文档/库存管理设计文档/下单库存管理流程图.vsdx
  70. BIN
      doc/系统设计文档/库存管理设计文档/下单库存管理设计文档.docx
  71. BIN
      doc/系统设计文档/支付中间件设计文档.docx
  72. BIN
      doc/系统设计文档/服务化sdk设计文档_v1.0.docx
  73. BIN
      doc/系统设计文档/离线支付设计文档.docx
  74. BIN
      doc/系统设计文档/结算相关设计文档/交易结算信息查询流程图.jpg
  75. BIN
      doc/系统设计文档/结算相关设计文档/交易结算信息查询流程图.vsdx
  76. BIN
      doc/系统设计文档/结算相关设计文档/动态规则类图.jpg
  77. BIN
      doc/系统设计文档/结算相关设计文档/动态规则类图.vsdx
  78. BIN
      doc/系统设计文档/结算相关设计文档/结算信息管理流程图.jpg
  79. BIN
      doc/系统设计文档/结算相关设计文档/结算信息管理流程图.vsdx
  80. BIN
      doc/系统设计文档/结算相关设计文档/结算相关设计文档.docx
  81. BIN
      doc/系统设计文档/结算相关设计文档/结算规则管理流程图.jpg
  82. BIN
      doc/系统设计文档/结算相关设计文档/结算规则管理流程图.vsdx
  83. BIN
      doc/系统设计文档/菜单商品合并设计文档/设计.vsdx
  84. BIN
      doc/系统设计文档/餐饮打印服务设计文档/建立打印队列的流程.jpg
  85. +737
    -0
      doc/系统设计文档/餐饮打印服务设计文档/建立打印队列的流程.uxf
  86. BIN
      doc/系统设计文档/餐饮打印服务设计文档/打印服务业务图.jpg
  87. +281
    -0
      doc/系统设计文档/餐饮打印服务设计文档/打印服务业务图.uxf
  88. BIN
      doc/系统设计文档/餐饮打印服务设计文档/打印服务流程图.jpg
  89. +526
    -0
      doc/系统设计文档/餐饮打印服务设计文档/打印服务流程图.uxf
  90. BIN
      doc/系统设计文档/餐饮打印服务设计文档/打印服务类图.jpg
  91. +332
    -0
      doc/系统设计文档/餐饮打印服务设计文档/打印服务类图.uxf
  92. BIN
      doc/系统设计文档/餐饮打印服务设计文档/订单与打印服务关系流程图.jpg
  93. BIN
      doc/系统设计文档/餐饮打印服务设计文档/订单与打印服务关系流程图.vsdx
  94. BIN
      doc/系统设计文档/餐饮打印服务设计文档/餐饮服务端打印服务设计文档.docx
  95. BIN
      doc/系统部署文档/HTTPS网站证书、域名证书部署方法.docx
  96. BIN
      doc/系统部署文档/中小零售POS管理系统部署文档.docx
  97. BIN
      doc/系统部署文档/云科技公有云网上审批指南.docx
  98. BIN
      doc/系统部署文档/分支管理及阿里云服务器相关地址及端口分配.docx
  99. BIN
      doc/系统部署文档/大连食堂单机部署文档.docx
  100. BIN
      doc/系统部署文档/阿里云服务器配置与续费-.xlsx

BIN
doc/UE交互/0126/POS端交互.zip Ver ficheiro


BIN
doc/UE交互/0126/交互.zip Ver ficheiro


BIN
doc/UE交互/POS支付应用/客屏- 微信(不含列表).jpg Ver ficheiro

Antes Depois
Largura: 1280  |  Altura: 800  |  Tamanho: 134 KiB

BIN
doc/UE交互/POS支付应用/客屏- 支付宝(不含列表).jpg Ver ficheiro

Antes Depois
Largura: 1280  |  Altura: 800  |  Tamanho: 133 KiB

BIN
doc/UE交互/POS支付应用/客屏1(不含列表).jpg Ver ficheiro

Antes Depois
Largura: 1280  |  Altura: 800  |  Tamanho: 90 KiB

BIN
doc/UE交互/POS支付应用/收银管理-金额-其他支付方式-交易成功.jpg Ver ficheiro

Antes Depois
Largura: 1280  |  Altura: 800  |  Tamanho: 132 KiB

BIN
doc/UE交互/POS支付应用/收银管理-金额-其他支付方式.jpg Ver ficheiro

Antes Depois
Largura: 1280  |  Altura: 800  |  Tamanho: 126 KiB

BIN
doc/UE交互/POS支付应用/收银管理-金额3.jpg Ver ficheiro

Antes Depois
Largura: 1280  |  Altura: 800  |  Tamanho: 129 KiB

BIN
doc/UE交互/POS支付应用/独立收银应用.png Ver ficheiro

Antes Depois
Largura: 4045  |  Altura: 1834  |  Tamanho: 214 KiB

BIN
doc/接口文档/01.中小型零售行业精简标准化解决方案使用接口API_v1.0.docx Ver ficheiro


BIN
doc/接口文档/02.OTA服务使用接口API_v1.0.docx Ver ficheiro


BIN
doc/接口文档/03.设备管理及配置服务使用接口API_v1.0.docx Ver ficheiro


BIN
doc/接口文档/04.广告服务使用接口API_v1.0.docx Ver ficheiro


BIN
doc/接口文档/05.集团及门店服务使用接口API_v1.0.docx Ver ficheiro


BIN
doc/接口文档/05.集团及门店服务使用接口API_v1.1.docx Ver ficheiro


BIN
doc/接口文档/06.商品管理服务使用接口API_v1.0.docx Ver ficheiro


BIN
doc/接口文档/07.交易管理服务使用接口API_v1.0.docx Ver ficheiro


BIN
doc/接口文档/08.权限管理服务使用接口API_v1.0.docx Ver ficheiro


BIN
doc/接口文档/09.支付管理服务使用接口API_v1.0.docx Ver ficheiro


BIN
doc/接口文档/10.用户、权限接口文档.docx Ver ficheiro


+ 183
- 0
doc/接口文档/10.用户、权限接口文档.md Ver ficheiro

@@ -0,0 +1,183 @@
# 用户、权限接口文档

## 用户登录接口
> URI: /service-user/login
>
> METHOD: POST
>
> CONTENT-TYPE: JSON

| 参数 | 数据类型 | 必填 | 备注 |
| -------- | ------ | ---- | ---- |
| username | String | true | 用户名 |
| password | String | true | 密码 |

> RETURN: 令牌字符串
>
> EXAMPLE:
> ```
> eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0Iiwicm9sZXMiOiJVU0VSIiwiZXhwIjoxNTE4MDU0Mzk1fQ.jDXfmpc4UMvJH_888XJveSqM7_iLAp4ukisvAXZ9vb2_zngqVicnbJa2hNXKls0p4mIVbOLfwHttoaxpNHyWvQ
> ```

## 获取用户信息接口
> URI: /service-user/user
>
> METHOD: GET
>
> CONTENT-TYPE: Query string

| 参数 | 数据类型 | 必填 | 备注 |
| -------- | ------ | ---- | ---- |
| username | String | true | 用户名 |

> RETURN: 用户对象
>
> EXAMPLE:
>
> ```json
> {
> "id": 1,
> "username":"test",
> "role": "ADMIN",
> "org": 1
> }
> ```

## 获取权限列表接口
> URI: /service-user/user/permissions
>
> METHOD: GET
>
> CONTENT-TYPE: Query string

| 参数 | 数据类型 | 必填 | 备注 |
| -------- | ------ | ---- | ---- |
| username | String | true | 用户名 |

> RETURN: 用户对象
>
> EXAMPLE:
>
> ```json
> [{
> "id": 1,
> "name":"获取权限列表",
> "url": "/service-user/user/permissions"
> },{
> "id": 2,
> "name":"获取权限组",
> "url": "/service-user/user/permissionGroups"
> }]
> ```

## 获取权限组接口

> URI: /service-user/user/permissionGroups
>
> METHOD: GET
>
> CONTENT-TYPE: Query string

| 参数 | 数据类型 | 必填 | 备注 |
| -------- | ------ | ---- | ---- |
| username | String | true | 用户名 |

> RETURN: 用户对象
>
> EXAMPLE:
>
> ```json
> [{
> "id": 1,
> "name":"用户管理"
> },{
> "id": 2,
> "name":"门店管理"
> }]
> ```
>
## 新建用户接口

> URI: /service-user/user/createUser
>
> METHOD: POST
>
> CONTENT-TYPE: JSON

| 参数 | 数据类型 | 必填 | 备注 |
| -------- | ------- | ----- | ------------------ |
| username | String | true | 用户名 |
| password | String | true | 密码 |
| role | String | true | 角色(超管、集团管理、门店管理) |
| org | Integer | false | 所属集团ID(超管不需要填写此字段) |
> RETURN: 新建记录行数
>
> EXAMPLE:
>
> ```
> 1
> ```

## 修改密码接口

> URI: /service-user/user/changePassword
>
> METHOD: POST
>
> CONTENT-TYPE: JSON

| 参数 | 数据类型 | 必填 | 备注 |
| ----------- | ------ | ---- | ---- |
| username | String | true | 用户名 |
| oldPassword | String | true | 旧密码 |
| newPassword | String | true | 新密码 |
> RETURN: 修改记录行数
>
> EXAMPLE:
>
> ```
> 1
> ```

## 为用户增加权限组接口

> URI: /service-user/user/addUserPermissionGroup
>
> METHOD: POST
>
> CONTENT-TYPE: JSON

| 参数 | 数据类型 | 必填 | 备注 |
| ----------------- | ------- | ---- | ----- |
| userId | Integer | true | 用户ID |
| permissionGroupId | Integer | true | 权限组ID |

> RETURN: 修改记录行数
>
> EXAMPLE:
>
> ```
> 1
> ```

## 为用户移除权限组接口

> URI: /service-user/user/removeUserPermissionGroup
>
> METHOD: POST
>
> CONTENT-TYPE: JSON

| 参数 | 数据类型 | 必填 | 备注 |
| ----------------- | ------- | ---- | ----- |
| userId | Integer | true | 用户ID |
| permissionGroupId | Integer | true | 权限组ID |

> RETURN: 修改记录行数
>
> EXAMPLE:
>
> ```
> 1
> ```


BIN
doc/接口文档/11.会员服务使用接口API_v1.0.docx Ver ficheiro


BIN
doc/接口文档/12.进销存服务使用接口API_v1.0.docx Ver ficheiro


BIN
doc/接口文档/商品管理接口文档.pdf Ver ficheiro


BIN
doc/接口文档/已实现的接口和权限.pdf Ver ficheiro


BIN
doc/操作手册/POS端支付应用使用手册V1.0.docx Ver ficheiro


BIN
doc/操作手册/东软智能POS管理平台产品功能列表.docx Ver ficheiro


BIN
doc/操作手册/东软智能云POS管理系统-门店用户操作手册2019.1.7.docx Ver ficheiro


BIN
doc/操作手册/东软智能云POS管理系统-集团操作手册2019.1.7.docx Ver ficheiro


BIN
doc/操作手册/东软智能云POS零售系统-POS端使用手册.docx Ver ficheiro


BIN
doc/操作手册/东软智能云POS餐饮系统-微信点餐使用手册V1.0_2019.1.7.docx Ver ficheiro


BIN
doc/操作手册/云POS餐饮系统POS端使用手册V2.0.docx Ver ficheiro


BIN
doc/操作手册/北国商场的操作手册/东软智能云POS管理系统-商场管理人员操作手册.docx Ver ficheiro


BIN
doc/操作手册/北国商场的操作手册/东软智能云POS管理系统-管理平台商户操作手册.docx Ver ficheiro


BIN
doc/操作手册/北国商场的操作手册/东软智能云POS餐饮系统-POS端使用手册.docx Ver ficheiro


BIN
doc/操作手册/支付应用录屏.zip Ver ficheiro


BIN
doc/操作手册/智能云POS管理平台-门店用户操作手册简化版2018.7.24.docx Ver ficheiro


BIN
doc/操作手册/智能云POS管理平台-集团用户操作手册20180613.docx Ver ficheiro


BIN
doc/操作手册/智能云POS管理平台1期-单门店用户操作手册1.2(2).docx Ver ficheiro


BIN
doc/操作手册/智能云POS管理平台1期-门店用户操作手册1.0(2).docx Ver ficheiro


BIN
doc/操作手册/智能云POS管理平台1期-集团用户操作手册1.0(2).docx Ver ficheiro


BIN
doc/操作手册/智能云POS管理平台2期-单门店用户操作手册20180522.docx Ver ficheiro


BIN
doc/操作手册/智能云POS管理平台2期-移动端操作手册20180522.docx Ver ficheiro


BIN
doc/操作手册/智能云POS管理平台2期-门店用户操作手册20180522.docx Ver ficheiro


BIN
doc/操作手册/智能云POS管理平台2期-集团用户操作手册20180522.docx Ver ficheiro


BIN
doc/操作手册/智能云POS管理系统-单门店用户操作手册20180613.docx Ver ficheiro


BIN
doc/操作手册/智能云POS管理系统-门店用户操作手册20180613.docx Ver ficheiro


BIN
doc/操作手册/智能云POS管理系统零售业务操作手册1.0.docx Ver ficheiro


BIN
doc/操作手册/沈阳食堂账号开通手册.docx Ver ficheiro


BIN
doc/操作手册/账号信息.zip Ver ficheiro


BIN
doc/操作手册/餐后结算系统操作手册/POS餐饮后结系统POS端使用手册V1.0_20180815.docx Ver ficheiro


BIN
doc/操作手册/餐后结算系统操作手册/POS餐饮后结系统微信点餐使用手册V1.0_20180815.docx Ver ficheiro


BIN
doc/操作手册/餐后结算系统操作手册/POS餐饮后结系统管理平台使用手册V1.0_20180815.docx Ver ficheiro


BIN
doc/操作手册/餐饮单门店演示视频.mp4 Ver ficheiro


+ 10
- 0
doc/数据库设计/Workspace.sws Ver ficheiro

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<?PowerDesigner signature="Workspace" version="15.1.0.2850"?>
<!-- do not edit this file -->

<Workspace>
<Local Expanded="Yes">
<Model Expanded="Yes" ID="{F5281723-A19C-4D89-93CA-5AB68D20F1B9}" Name="Ota" Type="{CDE44E21-9669-11D1-9914-006097355D9B}" URL="ota.pdm"/>
</Local>
<BrowserModule Name="Repository"/>
</Workspace>

+ 10
- 0
doc/数据库设计/Workspace_goods.sws Ver ficheiro

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<?PowerDesigner signature="Workspace" version="16.5.0.3982"?>
<!-- do not edit this file -->

<Workspace>
<Local Expanded="Yes">
<Model Expanded="Yes" ID="{6E8B77DC-6319-4A18-A50C-AC88FE6AFF51}" Name="菜品转化商品" Selected="Yes" Type="{CDE44E21-9669-11D1-9914-006097355D9B}" URL="菜品转化商品.pdm"/>
</Local>
<BrowserModule Name="Repository"/>
</Workspace>

+ 26198
- 0
doc/数据库设计/ota.pdb
A apresentação das diferenças no ficheiro foi suprimida por ser demasiado grande
Ver ficheiro


+ 26213
- 0
doc/数据库设计/ota.pdm
A apresentação das diferenças no ficheiro foi suprimida por ser demasiado grande
Ver ficheiro


+ 4595
- 0
doc/数据库设计/会员管理.pdb
A apresentação das diferenças no ficheiro foi suprimida por ser demasiado grande
Ver ficheiro


+ 4595
- 0
doc/数据库设计/会员管理.pdm
A apresentação das diferenças no ficheiro foi suprimida por ser demasiado grande
Ver ficheiro


+ 174
- 0
doc/数据库设计/数据库初始化sql Ver ficheiro

@@ -0,0 +1,174 @@
SET FOREIGN_KEY_CHECKS=0;
-- 交易及聚合支付初始化数据执行sql
truncate table mch_pay_channel;
truncate table mch_pay_info;
truncate table mch_payment_trade_log;
truncate table order_master;
truncate table order_transaction;
truncate table order_refund;
truncate table order_refund_transaction;
truncate table pay_order;
truncate table pay_refund_order;
truncate table payment_trade_log;
truncate table trade_mch_pay_channel;
truncate table trade_pay_order;
truncate table trade_settlement_info;
truncate table bill_settlement_cycle;
truncate table bill_master;
truncate table bill_detail;
truncate table bill_detail_profit;
truncate table bill_settlement_rule;
truncate table bill_settlement_rule_detail;
truncate table printer_rule_ref;
truncate table printer_rule_attribute;
truncate table printer_info;
truncate table printer_goods_ref_info;
truncate table printer_template_ref;
truncate table printer_task_info;
truncate table printer_task_log;

-- 商品表清理
truncate goods_category;
truncate goods_catering_menu;
truncate goods_catering_menu_tag;
truncate goods_retail;
truncate goods_tag;
truncate goods_approval_opinion;

-- 会员清理
truncate member;
truncate member_capital_change;
truncate member_card;
truncate member_card_relation;
truncate member_level;
truncate member_business_dict;

-- ota
truncate apk_strategy;
truncate apk_strategy_group;
truncate apk_version;
truncate app_info;
truncate config_strategy;
truncate config_strategy_group;
truncate device;
truncate device_upgrade_history;
truncate config_strategy;
truncate config_strategy_group;
truncate media_resource;
truncate media_strategy;
truncate media_strategy_group;
truncate upgrade_package;
truncate upgrade_strategy;
truncate upgrade_strategy_group;

truncate org;
truncate shop;
truncate tables;
truncate table_groups;
truncate user_shop;
truncate promotion_pay_channel;
SET FOREIGN_KEY_CHECKS=1;




-- 权限初始化
INSERT INTO `user_info`(`id`, `username`, `nickname`, `password`, `role`, `org`, `activated`) VALUES (1, 'sa', NULL, '$2a$10$ByesSJi9m4WpXKYDMxsBie9x4Zdq6B4Ojuw2g7E3WNE6y5sqBXoT2', 'sa', NULL, b'1');
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (1, '全部权限', NULL);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (2, '营销系统', 1);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (3, '账号系统', 1);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (4, '设备管理', 1);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (5, '交易管理', 1);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (6, '库存管理', 1);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (7, '集团管理', 2);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (8, '门店管理', 2);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (9, '广告管理', 2);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (10, '帐号管理', 3);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (11, '软件版本管理', 4);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (12, '设备MAC管理', 4);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (13, '升级策略管理', 4);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (14, '设备状态查询', 4);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (15, '配置策略管理', 4);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (16, '交易管理', 5);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (17, '商品管理', 6);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (18, '集团', 7);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (19, '集团支付账号', 7);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (20, '门店', 8);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (21, '广告资源管理', 9);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (22, '广告策略管理', 9);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (23, '版本列表', 11);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (24, '上传新版本', 11);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (25, '设备列表', 12);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (26, '设备导入', 12);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (27, '设备添加', 12);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (28, '升级策略列表', 13);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (29, '升级策略添加', 13);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (30, '设备状态', 14);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (31, '升级历史', 14);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (32, '配置策略列表', 15);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (33, '配置策略添加', 15);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (34, '交易日期统计', 16);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (35, '交易占比统计', 16);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (36, '商品列表', 17);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (37, '商品添加', 17);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (38, '门店添加', 8);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (39, '门店修改', 8);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (40, '集团添加', 7);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (41, '集团修改', 7);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (42, '集团添加支付渠道', 7);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (43, '集团修改支付渠道', 7);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (44, '门店详情', 8);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (45, '门店设备编辑', 8);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (46, '门店支付渠道', 8);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (47, '门店支付渠道添加', 8);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (48, '门店支付渠道修改', 8);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (49, '广告资源添加', 9);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (50, '广告策略添加', 9);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (51, '帐号修改', 3);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (52, '帐号添加', 3);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (53, '权限配置', 3);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (54, '设备修改', 12);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (55, '订单管理', 16);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (56, '交易统计', 16);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (57, '交易流水', 16);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (58, '商品修改', 17);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (63, '零售商品管理', 6);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (64, '零售商品列表', 63);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (65, '零售商品添加', 63);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (66, '零售商品修改', 63);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (67, '零售商品导入', 63);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (68, '餐桌', 8);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (69, '会员', 2);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (70, '会员管理', 69);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (71, '会员等级管理', 69);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (72, '会员详情', 69);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (73, '会员交易历史', 69);
INSERT INTO `permission_group`(`id`, `name`, `parent`) VALUES (74, '商品分类', 17);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 10);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 18);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 20);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 25);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 38);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 39);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 40);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 41);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 44);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 45);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 51);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 52);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 53);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 54);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 55);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 56);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 57);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 58);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 63);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 64);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 65);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 66);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 67);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 68);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 70);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 71);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 72);
INSERT INTO `user_permission_group`(`user`, `permission_group`) VALUES (1, 73);

+ 23
- 0
doc/数据库设计/数据库记录删除sql.txt Ver ficheiro

@@ -0,0 +1,23 @@
delete from pay_order where mcode='NEU186005170877';
delete from payment_trade_log where mcode='NEU186005170877';
delete from mch_payment_trade_log where mcode='NEU186005170877';
delete from pay_refund_order where mcode='NEU186005170877';
delete from trade_pay_order where order_number in (select m.order_number from order_master m where m.shop_id = 36);
delete from order_refund_transaction where original_order_number in (select m.order_number from order_master m where m.shop_id = 36);
delete from order_refund where original_order_number in (select m.order_number from order_master m where m.shop_id = 36);
delete from order_transaction where order_number in (select m.order_number from order_master m where m.shop_id = 36);
delete from order_master where shop_id = 36;
delete from bill_settlement_rule where shop_id = 36;
delete from bill_settlement_cycle where shop_id = 36;
delete from bill_master where shop_id = 36;
delete from bill_detail where shop_id = 36;
delete from bill_detail_profit where shop_id = 36;
delete from payment_trade_log;
delete from mch_payment_trade_log;
DELETE FROM shop WHERE `id`=36;

DELETE FROM user_shop WHERE `usr`=53 AND `shop`=36;

DELETE FROM `user_info` WHERE `id`=53;

DELETE FROM`user_permission_group` WHERE `user`=53;

+ 9981
- 0
doc/数据库设计/生产系统初始化数据库结构20180621.sql
A apresentação das diferenças no ficheiro foi suprimida por ser demasiado grande
Ver ficheiro


+ 6866
- 0
doc/数据库设计/菜品转化商品.pdb
A apresentação das diferenças no ficheiro foi suprimida por ser demasiado grande
Ver ficheiro


+ 6890
- 0
doc/数据库设计/菜品转化商品.pdm
A apresentação das diferenças no ficheiro foi suprimida por ser demasiado grande
Ver ficheiro


BIN
doc/系统设计文档/~$型零售行业精简标准化解决方案详细设计文档.docx Ver ficheiro


BIN
doc/系统设计文档/中小型零售行业精简标准化解决方案详细设计文档.docx Ver ficheiro


BIN
doc/系统设计文档/库存管理设计文档/下单库存管理流程图.jpg Ver ficheiro

Antes Depois
Largura: 512  |  Altura: 941  |  Tamanho: 42 KiB

BIN
doc/系统设计文档/库存管理设计文档/下单库存管理流程图.vsdx Ver ficheiro


BIN
doc/系统设计文档/库存管理设计文档/下单库存管理设计文档.docx Ver ficheiro


BIN
doc/系统设计文档/支付中间件设计文档.docx Ver ficheiro


BIN
doc/系统设计文档/服务化sdk设计文档_v1.0.docx Ver ficheiro


BIN
doc/系统设计文档/离线支付设计文档.docx Ver ficheiro


BIN
doc/系统设计文档/结算相关设计文档/交易结算信息查询流程图.jpg Ver ficheiro

Antes Depois
Largura: 679  |  Altura: 1286  |  Tamanho: 71 KiB

BIN
doc/系统设计文档/结算相关设计文档/交易结算信息查询流程图.vsdx Ver ficheiro


BIN
doc/系统设计文档/结算相关设计文档/动态规则类图.jpg Ver ficheiro

Antes Depois
Largura: 714  |  Altura: 262  |  Tamanho: 19 KiB

BIN
doc/系统设计文档/结算相关设计文档/动态规则类图.vsdx Ver ficheiro


BIN
doc/系统设计文档/结算相关设计文档/结算信息管理流程图.jpg Ver ficheiro

Antes Depois
Largura: 538  |  Altura: 648  |  Tamanho: 52 KiB

BIN
doc/系统设计文档/结算相关设计文档/结算信息管理流程图.vsdx Ver ficheiro


BIN
doc/系统设计文档/结算相关设计文档/结算相关设计文档.docx Ver ficheiro


BIN
doc/系统设计文档/结算相关设计文档/结算规则管理流程图.jpg Ver ficheiro

Antes Depois
Largura: 637  |  Altura: 823  |  Tamanho: 54 KiB

BIN
doc/系统设计文档/结算相关设计文档/结算规则管理流程图.vsdx Ver ficheiro


BIN
doc/系统设计文档/菜单商品合并设计文档/设计.vsdx Ver ficheiro


BIN
doc/系统设计文档/餐饮打印服务设计文档/建立打印队列的流程.jpg Ver ficheiro

Antes Depois
Largura: 590  |  Altura: 2240  |  Tamanho: 86 KiB

+ 737
- 0
doc/系统设计文档/餐饮打印服务设计文档/建立打印队列的流程.uxf Ver ficheiro

@@ -0,0 +1,737 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<diagram program="umlet" version="11.4">
<zoom_level>10</zoom_level>
<element>
<type>com.umlet.element.custom.InitialState</type>
<coordinates>
<x>570</x>
<y>130</y>
<w>20</w>
<h>20</h>
</coordinates>
<panel_attributes>i</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>550</x>
<y>110</y>
<w>50</w>
<h>90</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;70;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>530</x>
<y>340</y>
<w>100</w>
<h>40</h>
</coordinates>
<panel_attributes>检测POS</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>510</x>
<y>840</y>
<w>140</w>
<h>40</h>
</coordinates>
<panel_attributes>加入可用 Printer list</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>550</x>
<y>530</y>
<w>50</w>
<h>90</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;70;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>500</x>
<y>1130</y>
<w>160</w>
<h>40</h>
</coordinates>
<panel_attributes>获得全部打印任务</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>530</x>
<y>1050</y>
<w>86</w>
<h>100</h>
</coordinates>
<panel_attributes>lt=&lt;-
没有</panel_attributes>
<additional_attributes>50;80;50;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.Systemborder</type>
<coordinates>
<x>680</x>
<y>1100</y>
<w>260</w>
<h>90</h>
</coordinates>
<panel_attributes>打印任务按优先
级和生成时间升
序排列

考虑合并和插队规则</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>510</x>
<y>1200</y>
<w>140</w>
<h>40</h>
</coordinates>
<panel_attributes>获得门店打印任
务建队规则列表</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>550</x>
<y>1140</y>
<w>50</w>
<h>80</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;60;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>490</x>
<y>520</y>
<w>170</w>
<h>40</h>
</coordinates>
<panel_attributes>获取Pos打印机信息</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>490</x>
<y>180</y>
<w>170</w>
<h>40</h>
</coordinates>
<panel_attributes>获取门店中转设备信息</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>550</x>
<y>190</y>
<w>50</w>
<h>90</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;70;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>550</x>
<y>350</y>
<w>50</w>
<h>100</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;80;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>530</x>
<y>260</y>
<w>100</w>
<h>40</h>
</coordinates>
<panel_attributes>Get Next POS</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>550</x>
<y>270</y>
<w>50</w>
<h>90</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;70;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.Decision</type>
<coordinates>
<x>560</x>
<y>430</y>
<w>40</w>
<h>40</h>
</coordinates>
<panel_attributes/>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>530</x>
<y>440</y>
<w>88</w>
<h>100</h>
</coordinates>
<panel_attributes>lt=&lt;-
Pass</panel_attributes>
<additional_attributes>50;80;50;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>570</x>
<y>250</y>
<w>180</w>
<h>220</h>
</coordinates>
<panel_attributes>lt=&lt;-
Fail</panel_attributes>
<additional_attributes>60;30;150;30;150;200;30;200</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>530</x>
<y>680</y>
<w>100</w>
<h>40</h>
</coordinates>
<panel_attributes>检测Printer</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>550</x>
<y>690</y>
<w>50</w>
<h>100</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;80;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>520</x>
<y>600</y>
<w>110</w>
<h>40</h>
</coordinates>
<panel_attributes>Get Next Printer</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>550</x>
<y>610</y>
<w>50</w>
<h>90</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;70;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.Decision</type>
<coordinates>
<x>560</x>
<y>770</y>
<w>40</w>
<h>40</h>
</coordinates>
<panel_attributes/>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>570</x>
<y>590</y>
<w>180</w>
<h>220</h>
</coordinates>
<panel_attributes>lt=&lt;-
Fail</panel_attributes>
<additional_attributes>60;30;150;30;150;200;30;200</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>550</x>
<y>780</y>
<w>50</w>
<h>80</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;60;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.Decision</type>
<coordinates>
<x>560</x>
<y>1040</y>
<w>40</w>
<h>40</h>
</coordinates>
<panel_attributes/>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>480</x>
<y>850</y>
<w>184</w>
<h>110</h>
</coordinates>
<panel_attributes>lt=&lt;-
是否还有其他打印机</panel_attributes>
<additional_attributes>100;90;100;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>490</x>
<y>950</y>
<w>172</w>
<h>110</h>
</coordinates>
<panel_attributes>lt=&lt;-
没有
是否还有其他POS</panel_attributes>
<additional_attributes>90;90;90;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.Decision</type>
<coordinates>
<x>560</x>
<y>940</y>
<w>40</w>
<h>40</h>
</coordinates>
<panel_attributes/>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>550</x>
<y>180</y>
<w>322</w>
<h>900</h>
</coordinates>
<panel_attributes>lt=&lt;-
有</panel_attributes>
<additional_attributes>30;80;30;50;290;50;290;880;50;880</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>390</x>
<y>530</y>
<w>210</w>
<h>450</h>
</coordinates>
<panel_attributes>lt=&lt;-
有</panel_attributes>
<additional_attributes>190;70;190;50;40;50;40;430;170;430</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>510</x>
<y>2040</y>
<w>140</w>
<h>40</h>
</coordinates>
<panel_attributes>将队列
加入打印队列Map</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>550</x>
<y>1210</y>
<w>50</w>
<h>90</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;70;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>500</x>
<y>1400</y>
<w>180</w>
<h>40</h>
</coordinates>
<panel_attributes>Get 打印机的打印队列
如没有则新建一个</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>550</x>
<y>1410</y>
<w>50</w>
<h>70</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;50;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>500</x>
<y>1280</y>
<w>160</w>
<h>40</h>
</coordinates>
<panel_attributes>Get next 可用的 Printer</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>550</x>
<y>1290</y>
<w>50</w>
<h>70</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;50;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>480</x>
<y>2050</y>
<w>184</w>
<h>100</h>
</coordinates>
<panel_attributes>lt=&lt;-
是否还有其他打印机</panel_attributes>
<additional_attributes>100;80;100;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>530</x>
<y>2140</y>
<w>86</w>
<h>90</h>
</coordinates>
<panel_attributes>lt=&lt;-
没有</panel_attributes>
<additional_attributes>50;70;50;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.Decision</type>
<coordinates>
<x>560</x>
<y>2130</y>
<w>40</w>
<h>40</h>
</coordinates>
<panel_attributes/>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>390</x>
<y>1220</y>
<w>210</w>
<h>950</h>
</coordinates>
<panel_attributes>lt=&lt;-
有</panel_attributes>
<additional_attributes>190;60;190;30;40;30;40;430;40;920;170;930</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>510</x>
<y>1850</y>
<w>140</w>
<h>40</h>
</coordinates>
<panel_attributes>将任务
加入打印队列</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>510</x>
<y>1460</y>
<w>140</w>
<h>40</h>
</coordinates>
<panel_attributes>Get Next Print task</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.Decision</type>
<coordinates>
<x>560</x>
<y>1700</y>
<w>40</w>
<h>40</h>
</coordinates>
<panel_attributes/>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>510</x>
<y>1630</y>
<w>140</w>
<h>40</h>
</coordinates>
<panel_attributes>CheckRule</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>550</x>
<y>1470</y>
<w>50</w>
<h>70</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;50;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>530</x>
<y>1710</y>
<w>86</w>
<h>80</h>
</coordinates>
<panel_attributes>lt=&lt;-
True</panel_attributes>
<additional_attributes>50;60;50;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>430</x>
<y>1690</y>
<w>170</w>
<h>300</h>
</coordinates>
<panel_attributes>lt=&lt;-
Fail</panel_attributes>
<additional_attributes>150;280;150;210;40;210;40;30;130;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>510</x>
<y>2210</y>
<w>140</w>
<h>40</h>
</coordinates>
<panel_attributes>等待轮询</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>550</x>
<y>2220</y>
<w>50</w>
<h>90</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;70;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.FinalState</type>
<coordinates>
<x>570</x>
<y>2290</y>
<w>20</w>
<h>20</h>
</coordinates>
<panel_attributes>i</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>500</x>
<y>1340</y>
<w>160</w>
<h>40</h>
</coordinates>
<panel_attributes>Get Printer Setting</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>550</x>
<y>1350</y>
<w>50</w>
<h>70</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;50;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>530</x>
<y>1560</y>
<w>100</w>
<h>40</h>
</coordinates>
<panel_attributes>Get Next Rule</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>550</x>
<y>1570</y>
<w>50</w>
<h>80</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;60;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>570</x>
<y>1550</y>
<w>216</w>
<h>260</h>
</coordinates>
<panel_attributes>lt=&lt;-
还有其他的规则
</panel_attributes>
<additional_attributes>60;30;140;30;140;240;30;240</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>550</x>
<y>1640</y>
<w>50</w>
<h>80</h>
</coordinates>
<panel_attributes>lt=&lt;-
</panel_attributes>
<additional_attributes>30;60;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.Decision</type>
<coordinates>
<x>560</x>
<y>1770</y>
<w>40</w>
<h>40</h>
</coordinates>
<panel_attributes/>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>520</x>
<y>1780</y>
<w>114</w>
<h>90</h>
</coordinates>
<panel_attributes>lt=&lt;-
全部通过</panel_attributes>
<additional_attributes>60;70;60;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>480</x>
<y>1860</y>
<w>198</w>
<h>130</h>
</coordinates>
<panel_attributes>lt=&lt;-
是否还有其他打印任务</panel_attributes>
<additional_attributes>100;110;100;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.Decision</type>
<coordinates>
<x>560</x>
<y>1970</y>
<w>40</w>
<h>40</h>
</coordinates>
<panel_attributes/>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>530</x>
<y>1980</y>
<w>86</w>
<h>80</h>
</coordinates>
<panel_attributes>lt=&lt;-
没有</panel_attributes>
<additional_attributes>50;60;50;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>570</x>
<y>1450</y>
<w>262</w>
<h>560</h>
</coordinates>
<panel_attributes>lt=&lt;-
有</panel_attributes>
<additional_attributes>80;30;230;30;230;540;30;540</additional_attributes>
</element>
</diagram>

BIN
doc/系统设计文档/餐饮打印服务设计文档/打印服务业务图.jpg Ver ficheiro

Antes Depois
Largura: 1230  |  Altura: 790  |  Tamanho: 62 KiB

+ 281
- 0
doc/系统设计文档/餐饮打印服务设计文档/打印服务业务图.uxf Ver ficheiro

@@ -0,0 +1,281 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<diagram program="umlet" version="11.4">
<zoom_level>10</zoom_level>
<element>
<type>com.umlet.element.custom.Component</type>
<coordinates>
<x>130</x>
<y>60</y>
<w>590</w>
<h>580</h>
</coordinates>
<panel_attributes>
'打印服务</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.Component</type>
<coordinates>
<x>170</x>
<y>260</y>
<w>190</w>
<h>60</h>
</coordinates>
<panel_attributes>
'中转设备(POS)信息</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.Component</type>
<coordinates>
<x>420</x>
<y>240</y>
<w>120</w>
<h>270</h>
</coordinates>
<panel_attributes>
'打印队列</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.Component</type>
<coordinates>
<x>420</x>
<y>160</y>
<w>250</w>
<h>50</h>
</coordinates>
<panel_attributes>'进队规则</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.Component</type>
<coordinates>
<x>800</x>
<y>570</y>
<w>240</w>
<h>70</h>
</coordinates>
<panel_attributes>
' 4G打印机</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.Component</type>
<coordinates>
<x>170</x>
<y>470</y>
<w>190</w>
<h>60</h>
</coordinates>
<panel_attributes>
'打印模板信息</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.Component</type>
<coordinates>
<x>170</x>
<y>160</y>
<w>190</w>
<h>60</h>
</coordinates>
<panel_attributes>
'门店信息</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>430</x>
<y>180</y>
<w>50</w>
<h>80</h>
</coordinates>
<panel_attributes>lt=&lt;[^][v]&gt;</panel_attributes>
<additional_attributes>30;30;30;60</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.Component</type>
<coordinates>
<x>800</x>
<y>60</y>
<w>240</w>
<h>490</h>
</coordinates>
<panel_attributes>
'POS</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.Component</type>
<coordinates>
<x>170</x>
<y>360</y>
<w>190</w>
<h>60</h>
</coordinates>
<panel_attributes>
'打印机信息</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>690</x>
<y>110</y>
<w>130</w>
<h>50</h>
</coordinates>
<panel_attributes>lt=&lt;[&gt;] - [&gt;]&gt;</panel_attributes>
<additional_attributes>110;30;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>690</x>
<y>150</y>
<w>130</w>
<h>50</h>
</coordinates>
<panel_attributes>lt=&lt;[&gt;] - [&gt;]&gt;</panel_attributes>
<additional_attributes>110;30;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>690</x>
<y>560</y>
<w>130</w>
<h>50</h>
</coordinates>
<panel_attributes>lt=&lt;[&gt;] - [&gt;]&gt;</panel_attributes>
<additional_attributes>110;30;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>690</x>
<y>590</y>
<w>130</w>
<h>50</h>
</coordinates>
<panel_attributes>lt=&lt;[&gt;] - [&gt;]&gt;</panel_attributes>
<additional_attributes>110;30;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.Component</type>
<coordinates>
<x>1080</x>
<y>70</y>
<w>240</w>
<h>70</h>
</coordinates>
<panel_attributes>
'打印机</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.Component</type>
<coordinates>
<x>1080</x>
<y>170</y>
<w>240</w>
<h>70</h>
</coordinates>
<panel_attributes>
'打印机</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>1010</x>
<y>80</y>
<w>90</w>
<h>50</h>
</coordinates>
<panel_attributes>lt=&lt;[&gt;] - [&gt;]&gt;</panel_attributes>
<additional_attributes>70;30;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>1010</x>
<y>170</y>
<w>90</w>
<h>50</h>
</coordinates>
<panel_attributes>lt=&lt;[&gt;] - [&gt;]&gt;</panel_attributes>
<additional_attributes>70;30;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.Component</type>
<coordinates>
<x>550</x>
<y>240</y>
<w>120</w>
<h>270</h>
</coordinates>
<panel_attributes>
'打印队列</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.Component</type>
<coordinates>
<x>170</x>
<y>560</y>
<w>190</w>
<h>60</h>
</coordinates>
<panel_attributes>
'订单信息</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.Component</type>
<coordinates>
<x>420</x>
<y>560</y>
<w>250</w>
<h>60</h>
</coordinates>
<panel_attributes>
'打印任务信息</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>450</x>
<y>480</y>
<w>50</w>
<h>100</h>
</coordinates>
<panel_attributes>lt=&lt;[^][v]&gt;</panel_attributes>
<additional_attributes>30;30;30;80</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>590</x>
<y>480</y>
<w>50</w>
<h>100</h>
</coordinates>
<panel_attributes>lt=&lt;[^][v]&gt;</panel_attributes>
<additional_attributes>30;30;30;80</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>730</x>
<y>0</y>
<w>50</w>
<h>750</h>
</coordinates>
<panel_attributes>lt=:</panel_attributes>
<additional_attributes>30;30;30;730</additional_attributes>
</element>
</diagram>

BIN
doc/系统设计文档/餐饮打印服务设计文档/打印服务流程图.jpg Ver ficheiro

Antes Depois
Largura: 1010  |  Altura: 1420  |  Tamanho: 97 KiB

+ 526
- 0
doc/系统设计文档/餐饮打印服务设计文档/打印服务流程图.uxf Ver ficheiro

@@ -0,0 +1,526 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<diagram program="umlet" version="11.4">
<zoom_level>10</zoom_level>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>620</x>
<y>970</y>
<w>230</w>
<h>60</h>
</coordinates>
<panel_attributes>中转设备/4G打印机接收打印任务
分配各个打印机执行</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.InitialState</type>
<coordinates>
<x>720</x>
<y>20</y>
<w>20</w>
<h>20</h>
</coordinates>
<panel_attributes>i</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>700</x>
<y>0</y>
<w>50</w>
<h>140</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;120;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>680</x>
<y>120</y>
<w>100</w>
<h>40</h>
</coordinates>
<panel_attributes>初始化服务</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>700</x>
<y>130</y>
<w>50</w>
<h>70</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;50;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>680</x>
<y>180</y>
<w>100</w>
<h>40</h>
</coordinates>
<panel_attributes>获取门店信息</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>700</x>
<y>190</y>
<w>50</w>
<h>70</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;50;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>650</x>
<y>240</y>
<w>170</w>
<h>40</h>
</coordinates>
<panel_attributes>获取门店中转设备信息</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>650</x>
<y>300</y>
<w>170</w>
<h>40</h>
</coordinates>
<panel_attributes>获取门店打印机信息</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>700</x>
<y>250</y>
<w>50</w>
<h>70</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;50;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>630</x>
<y>430</y>
<w>210</w>
<h>80</h>
</coordinates>
<panel_attributes>根据配置的入队规则
为每个打印机生成打印任务队列
任务状态为:PREPRINT
记录更新日志</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>700</x>
<y>370</y>
<w>50</w>
<h>80</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;60;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>800</x>
<y>730</y>
<w>130</w>
<h>40</h>
</coordinates>
<panel_attributes>等待中转设备
轮询打印队列</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>580</x>
<y>600</y>
<w>150</w>
<h>150</h>
</coordinates>
<panel_attributes>lt=&lt;.
推送</panel_attributes>
<additional_attributes>50;130;50;50;130;50</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>720</x>
<y>600</y>
<w>186</w>
<h>150</h>
</coordinates>
<panel_attributes>lt=&lt;-
轮询</panel_attributes>
<additional_attributes>150;130;150;50;30;50</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>650</x>
<y>850</y>
<w>170</w>
<h>80</h>
</coordinates>
<panel_attributes>更新已推送的打印
任务状态为:PRINTING
记录更新日志
</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>600</x>
<y>740</y>
<w>150</w>
<h>130</h>
</coordinates>
<panel_attributes>lt=&lt;.</panel_attributes>
<additional_attributes>130;110;130;80;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>700</x>
<y>740</y>
<w>190</w>
<h>130</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;110;30;80;170;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>700</x>
<y>900</y>
<w>50</w>
<h>90</h>
</coordinates>
<panel_attributes>lt=&lt;.</panel_attributes>
<additional_attributes>30;70;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>650</x>
<y>1060</y>
<w>170</w>
<h>80</h>
</coordinates>
<panel_attributes>更新打印任务
状态为:PRINTED
记录更新日志
任务弹出队列

</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>700</x>
<y>1000</y>
<w>50</w>
<h>80</h>
</coordinates>
<panel_attributes>lt=&lt;.</panel_attributes>
<additional_attributes>30;60;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.Decision</type>
<coordinates>
<x>710</x>
<y>530</y>
<w>40</w>
<h>40</h>
</coordinates>
<panel_attributes/>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>700</x>
<y>480</y>
<w>50</w>
<h>70</h>
</coordinates>
<panel_attributes>lt=&lt;-
</panel_attributes>
<additional_attributes>30;50;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.Decision</type>
<coordinates>
<x>710</x>
<y>630</y>
<w>40</w>
<h>40</h>
</coordinates>
<panel_attributes/>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>660</x>
<y>540</y>
<w>132</w>
<h>110</h>
</coordinates>
<panel_attributes>lt=&lt;-
Stop = false</panel_attributes>
<additional_attributes>70;90;70;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>720</x>
<y>520</y>
<w>406</w>
<h>750</h>
</coordinates>
<panel_attributes>lt=&lt;-
Stop = true</panel_attributes>
<additional_attributes>50;730;350;730;350;30;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.FinalState</type>
<coordinates>
<x>710</x>
<y>1350</y>
<w>20</w>
<h>20</h>
</coordinates>
<panel_attributes>i</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>1000</x>
<y>80</y>
<w>100</w>
<h>40</h>
</coordinates>
<panel_attributes>POS生成订单</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>980</x>
<y>170</y>
<w>150</w>
<h>70</h>
</coordinates>
<panel_attributes>根据菜品生成打印任务
初始任务状态为:INIT
记录更新日志</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>1020</x>
<y>90</y>
<w>50</w>
<h>100</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;80;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.Systemborder</type>
<coordinates>
<x>940</x>
<y>50</y>
<w>230</w>
<h>260</h>
</coordinates>
<panel_attributes/>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>700</x>
<y>280</y>
<w>300</w>
<h>170</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;150;30;130;280;130;280;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>670</x>
<y>1230</y>
<w>100</w>
<h>40</h>
</coordinates>
<panel_attributes>关闭服务</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>690</x>
<y>1240</y>
<w>50</w>
<h>140</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;120;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>640</x>
<y>360</y>
<w>190</w>
<h>40</h>
</coordinates>
<panel_attributes>获取状态为非
PRINTERED的打印任务</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>700</x>
<y>310</y>
<w>50</w>
<h>70</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;50;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.custom.Systemborder</type>
<coordinates>
<x>1200</x>
<y>550</y>
<w>280</w>
<h>460</h>
</coordinates>
<panel_attributes>对外服务接口:
1、获得中转设备的全部打印队列
2、打印成功
3、获取打印模板

建队规则:
一级规则
1、菜品类别
2、菜品
3、厨师?
二级规则:
1、压力均衡
2、优先级
打印机只限于后厨打印?</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.Systemborder</type>
<coordinates>
<x>1220</x>
<y>50</y>
<w>230</w>
<h>260</h>
</coordinates>
<panel_attributes/>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>1280</x>
<y>80</y>
<w>100</w>
<h>40</h>
</coordinates>
<panel_attributes>POS请求补打</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.custom.State</type>
<coordinates>
<x>1260</x>
<y>170</y>
<w>150</w>
<h>70</h>
</coordinates>
<panel_attributes>生成打印任务
初始任务状态为:INIT
记录更新日志</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>1300</x>
<y>90</y>
<w>50</w>
<h>100</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;80;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.UseCase</type>
<coordinates>
<x>530</x>
<y>730</y>
<w>210</w>
<h>40</h>
</coordinates>
<panel_attributes>lt=.
为每个打印机推送打印队列
</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>880</x>
<y>110</y>
<w>620</w>
<h>50</h>
</coordinates>
<panel_attributes>lt=:</panel_attributes>
<additional_attributes>30;30;600;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>700</x>
<y>280</y>
<w>670</w>
<h>170</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;150;30;130;650;130;650;30</additional_attributes>
</element>
</diagram>

BIN
doc/系统设计文档/餐饮打印服务设计文档/打印服务类图.jpg Ver ficheiro

Antes Depois
Largura: 1580  |  Altura: 720  |  Tamanho: 158 KiB

+ 332
- 0
doc/系统设计文档/餐饮打印服务设计文档/打印服务类图.uxf Ver ficheiro

@@ -0,0 +1,332 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<diagram program="umlet" version="11.4">
<zoom_level>10</zoom_level>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>400</x>
<y>40</y>
<w>210</w>
<h>120</h>
</coordinates>
<panel_attributes>TransitEquipment
--
-id: long
-merchantId: long
--
+checkDevice(): boolean
+getPrinterList(): List&lt;Printer&gt;</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>670</x>
<y>40</y>
<w>230</w>
<h>120</h>
</coordinates>
<panel_attributes>Printer
--
-id: long
-printerId: long
--
+checkDevice(): boolean
+getPrinterSetting(): PrinterSetting
</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>0</x>
<y>40</y>
<w>340</w>
<h>120</h>
</coordinates>
<panel_attributes>Merchant
--
-id: long
--
+getMerchantPrintRule(): MerchantPrintRule
+getTransitEquipmentList(): List&lt;TransitEquipment&gt;
+getAllPrinterList(): List&lt;Printer&gt;</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>950</x>
<y>370</y>
<w>340</w>
<h>350</h>
</coordinates>
<panel_attributes>PrintTask
--
-id: long
-dishesId: long
-priority: int
-status: int
-creatTime: long
-printerId: long
--
-getDishes(): Dishes
-recordChangeLog():void
+getChangeLog():List&lt;PrintTaskStatusChangeLog&gt;
+updateStatus(status: int): boolean
+getPriority(): int
+setPriority(prio: int): void
+getStatus(): int
+setStatus(s: int): void
+getCreatTime(): long
+setCreatTime(ct: long): void
+getPrinterId(): long
+setPrinterId(printerId: long): void</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>1350</x>
<y>590</y>
<w>190</w>
<h>130</h>
</coordinates>
<panel_attributes>PrintTaskStatusChangeLog
--
-id: long
-printTaskId: long
-fromState: int
-toState: int
-changeTime: long
</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>0</x>
<y>210</y>
<w>330</w>
<h>190</h>
</coordinates>
<panel_attributes>MerchantPrintRule
--
-id: long
-merchantId: long
-rulePriority: int
-ruleName: String
--
+getRulePriority(): int
+SetRulePriority(v: int): void
+getRuleName(): String
+setRuleName(v: String): void
</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>380</x>
<y>340</y>
<w>500</w>
<h>380</h>
</coordinates>
<panel_attributes>PrintService
--
-mMerchant: Merchant
-mTransitEquipmentList: List&lt;TransitEquipment&gt;
-mAvailableTransitEquipmentList: List&lt;TransitEquipment&gt;
-mPrinterList: List&lt;Printer&gt;
-mAvailablePrinterList: List&lt;Printer&gt;

-mPrintTaskQueueMap: Map&lt;int , List&lt;PrintTask&gt;&gt;
--
-getAllTransitEquipment(): boolean
-getAllPrinter(te: TransitEquipment): boolean
-checkTransitEquipment(te: TransitEquipment): boolean
-checkPrinter(p: Printer): boolean
-initPringTaskQueueMap(): void
-updatePringTaskMapQueue(pId: int): void
-getPringTaskQueue(pId: int): List&lt;PrintMapping&gt;



+startService(): boolean
+stopService(): boolean
+printSuccess(): boolean
+getPrintTaskSet(pId: long, size: int): boolean
+sendPrintTaskSet(ip: String, port: int): boolean
</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>1010</x>
<y>40</y>
<w>530</w>
<h>310</h>
</coordinates>
<panel_attributes>PrinterSetting
--
-id: long
-printerId: long
-ip: String
-port: String
-dishesType: int
-printType: int
--
+getPrintDishesList()
+getPrintDishesType()
+setPrintDishesType(t: int): void
+getPrintType(): int
+setPrintType(t: int): void
+getIp(): String: int
+setIp(ip: String): void
+getPort(): String
+setPort(prrt: String): void
</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>130</x>
<y>130</y>
<w>50</w>
<h>100</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;80;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>310</x>
<y>40</y>
<w>110</w>
<h>50</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>90;30;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>580</x>
<y>40</y>
<w>110</w>
<h>50</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>90;30;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>1350</x>
<y>370</y>
<w>190</w>
<h>190</h>
</coordinates>
<panel_attributes>Dishes
--
-id: long
-type: int
-printerId: long
-chefId: long
-name: String
-price: double
-pic: int</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>1260</x>
<y>440</y>
<w>110</w>
<h>50</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>90;30;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>1260</x>
<y>440</y>
<w>110</w>
<h>260</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>90;240;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>850</x>
<y>490</y>
<w>120</w>
<h>50</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>100;30;30;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>600</x>
<y>130</y>
<w>220</w>
<h>230</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>200;30;30;210</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>480</x>
<y>130</y>
<w>170</w>
<h>230</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;30;150;210</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>250</x>
<y>130</y>
<w>400</w>
<h>230</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;30;380;210</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>300</x>
<y>250</y>
<w>350</w>
<h>110</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>30;30;330;90</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>870</x>
<y>40</y>
<w>160</w>
<h>50</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>140;30;30;30</additional_attributes>
</element>
</diagram>

BIN
doc/系统设计文档/餐饮打印服务设计文档/订单与打印服务关系流程图.jpg Ver ficheiro

Antes Depois
Largura: 466  |  Altura: 568  |  Tamanho: 21 KiB

BIN
doc/系统设计文档/餐饮打印服务设计文档/订单与打印服务关系流程图.vsdx Ver ficheiro


BIN
doc/系统设计文档/餐饮打印服务设计文档/餐饮服务端打印服务设计文档.docx Ver ficheiro


BIN
doc/系统部署文档/HTTPS网站证书、域名证书部署方法.docx Ver ficheiro


BIN
doc/系统部署文档/中小零售POS管理系统部署文档.docx Ver ficheiro


BIN
doc/系统部署文档/云科技公有云网上审批指南.docx Ver ficheiro


BIN
doc/系统部署文档/分支管理及阿里云服务器相关地址及端口分配.docx Ver ficheiro


BIN
doc/系统部署文档/大连食堂单机部署文档.docx Ver ficheiro


BIN
doc/系统部署文档/阿里云服务器配置与续费-.xlsx Ver ficheiro


Alguns ficheiros não foram mostrados porque foram alterados demasiados ficheiros neste diff

Carregando…
Cancelar
Guardar