|
|
|
@ -25,33 +25,6 @@
|
|
|
|
|
系统的功能性需求:
|
|
|
|
|
- 数据的查书、借书、还书、打印书籍、添加、删除展示。
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### C7:修改图书
|
|
|
|
|
选择菜单命令: 7,提示修改和输入图书编号,输入图书编号,再次提示图书数量,输出你要在该图书编号下修改的图书数量,并提示完成;如果输入的图书编号不存在,则提示没有这样的书。
|
|
|
|
|
`````
|
|
|
|
|
请选择:7
|
|
|
|
|
|
|
|
|
|
Revise Book
|
|
|
|
|
|
|
|
|
|
Which book you wanna revise ?
|
|
|
|
|
1
|
|
|
|
|
Original book number : 1
|
|
|
|
|
Revised number :2
|
|
|
|
|
**********************
|
|
|
|
|
Revise success
|
|
|
|
|
`````
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
``````
|
|
|
|
|
请选择:7
|
|
|
|
|
|
|
|
|
|
Revise Book
|
|
|
|
|
|
|
|
|
|
Which book you wanna revise ?
|
|
|
|
|
2
|
|
|
|
|
No such book
|
|
|
|
|
``````
|
|
|
|
|
系统的非功能性需求:
|
|
|
|
|
- 菜单驱动的命令行交互界面。
|
|
|
|
|
|
|
|
|
@ -75,7 +48,7 @@ No such book
|
|
|
|
|
————————————————————————————————————————————
|
|
|
|
|
请选择:
|
|
|
|
|
```
|
|
|
|
|
#### C0: 退出程序
|
|
|
|
|
### C0: 退出程序
|
|
|
|
|
选择菜单命令:0 再输入:y,确认,则退出程序。若输入:n,则继续程序。
|
|
|
|
|
```
|
|
|
|
|
请选择:0
|
|
|
|
@ -136,3 +109,28 @@ Which book you wanna delelet?
|
|
|
|
|
Enter book ID: 5
|
|
|
|
|
Not found
|
|
|
|
|
```
|
|
|
|
|
### C7:修改图书
|
|
|
|
|
选择菜单命令: 7,提示修改和输入图书编号,输入图书编号,再次提示图书数量,输出你要在该图书编号下修改的图书数量,并提示完成;如果输入的图书编号不存在,则提示没有这样的书。
|
|
|
|
|
`````
|
|
|
|
|
请选择:7
|
|
|
|
|
|
|
|
|
|
Revise Book
|
|
|
|
|
|
|
|
|
|
Which book you wanna revise ?
|
|
|
|
|
1
|
|
|
|
|
Original book number : 1
|
|
|
|
|
Revised number :2
|
|
|
|
|
**********************
|
|
|
|
|
Revise success
|
|
|
|
|
`````
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
``````
|
|
|
|
|
请选择:7
|
|
|
|
|
|
|
|
|
|
Revise Book
|
|
|
|
|
|
|
|
|
|
Which book you wanna revise ?
|
|
|
|
|
2
|
|
|
|
|
No such book
|
|
|
|
|
``````
|