Skip to content

Commit

Permalink
Merge pull request #1488 from cxh245/master
Browse files Browse the repository at this point in the history
#3 #434 第三次实验报告(修改)
  • Loading branch information
zengsn authored Mar 19, 2020
2 parents 295645d + 28e766d commit c04989f
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 7 deletions.
14 changes: 7 additions & 7 deletions students/1714080901108/lab2.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
~| 2. 系统显示输入商品信息界面; |
~| 3. 供应商输入商品信息,点击“上传”按钮; |
~| 4. 系统确定信息按规定填写,保存该供应商上传的商品,生成商品编号。 |
扩展流程 | 4.1 系统检查发现未完善必填信息,提示“请完善必填信息后重新上传”; |*用例执行失败*
~| 4.2 系统检查商品编号发现该供应商上传重复商品,提示“请勿重复上传”。 |
扩展流程 | 4.1 系统检查发现未按规定填写信息,提示“请重新填写信息后上传”; |*用例执行失败*
~| 4.2 系统检查商品名称发现该供应商上传重复商品,提示“请勿重复上传”。 |

## 表2:配送用例规约

Expand All @@ -44,10 +44,10 @@
前置条件 | 供应商已登录供应商账号 | *可选*
后置条件 | | *可选*
基本流程 | 1. 供应商点击“选择配送”按钮; |*用例执行成功的步骤*
~| 2. 系统显示已下单可配送订单; |
~| 2. 系统显示预约下单订单; |
~|3. 供应商选择配送订单,点击“开始配送”按钮; |
~| 4. 系统检查当前时间符合配送订单时段,更新所选订单状态,并向消费者发送订单状态信息。 |
扩展流程 | 3.1 系统检查发现时间与该订单消费者规定所配送时段不符合,提示“请在规定配送时段内为该客户进行配送”。 |*用例执行失败*
扩展流程 | 3.1 系统检查发现时间与该订单消费者规定所配送时段不符合,提示“请在规定配送时段内为该客户进行配送”,返回选择订单界面。 |*用例执行失败*


## 表3:预约下单用例规约
Expand All @@ -61,10 +61,10 @@
~| 2. 系统显示供应商列表; |
~| 3. 消费者选择供应商; |
~| 4. 系统显示所选择供应商的商品; |
~| 5. 消费者选择要下单的商品后,点击“下单”按钮; |
~| 5. 消费者选择要下单的商品及数量后,点击“下一步”按钮; |
~| 6. 系统显示该供应商可配送时段; |
~| 7. 消费者选择要配送的时段后,点击“确认下单”按钮; |
~| 8. 系统保存消费者下单内容,生成订单。 |
扩展流程 | 5.1 系统检查发现消费者所选择的商品库存不足,提示“所选商品库存不足,请重新选择”; |*用例执行失败*
~| 7.1 点击选择配送时段时,该时段若订单量过多,提示“该时段配送量大,配送速度可能较慢”。 |
扩展流程 | 5.1 系统检查发现消费者所选择的商品库存不足,提示“所选商品库存不足,请重新选择”,返回商品选择界面; |*用例执行失败*
~| 7.1 点击选择配送时段时,系统检查发现该时段若订单量过多,提示“该时段配送量大,请重新选择”,返回选择配送时段界面。 |

29 changes: 29 additions & 0 deletions students/1714080901108/lab3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# UML实验3报告文档

## 实验目标
- 掌握过程建模的概念及方法;
- 学会使用UML软件结合用例画活动图。

## 实验内容
- 在StarUML中根据用例创建活动图;
- 分析用例的操作。

## 实验步骤
- 在StarUML中创建一个新的活动图,并新增一个开始节点;
- 根据用例中的流程创建操作;
- 在分支操作处使用决策节点分离;
- 根据用例连接不同的操作;
- 将分离的操作进行汇合后,最后一步连接到结束节点;
- 根据用例构建另外两个用例的活动图。


## 实验结果

![lab3上传品种活动图](./model3_upload.jpg)
生鲜蔬菜配送系统上传品种用例活动图

![lab3配送活动图](./model3_deliver.jpg)
生鲜蔬菜配送系统配送用例活动图

![lab3预约下单活动图](./model3_order.jpg)
生鲜蔬菜配送系统预约下单用例活动图
Binary file added students/1714080901108/model3_deliver.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added students/1714080901108/model3_order.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added students/1714080901108/model3_upload.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c04989f

Please sign in to comment.