王意伟 2 years ago
parent 76b870b6b3
commit 0de02f7e6d

@ -293,6 +293,11 @@ Step 2: 打印学生成绩
![](print_data.svg)
### query_data
Step 1: 输入查询学号
Step 2: for 0 to num_part-1 查询
Step 3: 根据查询结果输出
![](query_data.svg)
### add_data
### update_data
### delete_data

@ -0,0 +1,61 @@
<mxfile host="65bd71144e">
<diagram id="jYJfybgj_iSbBnIaVfk1" name="第 1 页">
<mxGraphModel dx="560" dy="527" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="4" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="2" target="3">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="2" value="query_data" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="110" y="50" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="6" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="3">
<mxGeometry relative="1" as="geometry">
<mxPoint x="170" y="230" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="3" value="输入学生学号" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="110" y="140" width="120" height="50" as="geometry"/>
</mxCell>
<mxCell id="9" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="7" target="8">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="13" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="7" target="12">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="7" value="是否查找成功" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="110" y="230" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="11" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="8" target="10">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="8" value="输出记录编号" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="110" y="320" width="120" height="50" as="geometry"/>
</mxCell>
<mxCell id="10" value="结束" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="110" y="400" width="120" height="50" as="geometry"/>
</mxCell>
<mxCell id="14" style="edgeStyle=none;html=1;" edge="1" parent="1" source="12">
<mxGeometry relative="1" as="geometry">
<mxPoint x="170" y="390" as="targetPoint"/>
<Array as="points">
<mxPoint x="440" y="260"/>
<mxPoint x="440" y="320"/>
<mxPoint x="440" y="390"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="12" value="输出学生不存在" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="280" y="235" width="120" height="50" as="geometry"/>
</mxCell>
<mxCell id="15" value="N" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="220" y="235" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="16" value="Y" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="120" y="285" width="60" height="30" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 11 KiB

Loading…
Cancel
Save