print
huyunan 2 years ago
parent 162a3eddb4
commit dbea8e4559

@ -361,6 +361,13 @@ Step 3: else 学号存在 then 输出学号、姓名、成绩
![](pictures/query_data.drawio.svg) ![](pictures/query_data.drawio.svg)
#### print_data
Step 1: 输出学号、姓名、成绩
![](pictures/print.drawio.svg)
#### read_data #### read_data
Step 1: 输入文件名 Step 1: 输入文件名

@ -0,0 +1,52 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="151px" height="301px" viewBox="-0.5 -0.5 151 301" content="&lt;mxfile&gt;&lt;diagram id=&quot;LNEEokx9NuSkeupJaUJv&quot; name=&quot;Page-1&quot;&gt;xVXLboMwEPwa3wGH1xES0l4qVcqhx8oKG7BkMHKcAP36mmBehbSpGqUXWM+OsWcYDMLrrHoSpEhfeAwMWUZcIbxBluV4K3VtgLoFbAe3QCJo3ELmAOzoB2jQ0OiJxnCcECXnTNJiCu55nsNeTjAiBC+ntANn01ULksAM2O0Jm6NvNJZpi3q2MeDPQJO0W9k0dCcjHVkDx5TEvBxBOEJ4LTiXbZVVa2CNd50v7bztlW6/MQG5vGWCfhFnwk5am96XrDuxECvtepjzXN3CVGZMjUxVtvSGc3UHGjryk9hrll5FEpGAZuFevUoN8AykqBVFACOSnqdPJ/r9JT1vkKgKrXJZsTVTXAiay/eYSDLXzpjKVCO5TKmEXUEuCkqV6iUbziAkVN8bMZfYTehCUvepacflEDETaywdxcs1/u6K8z85wPMc2A/KAZ4rjjwURsjHKLKR56IwaIpggwLngmxR6F4QV3N8A3kbFDnI85o6UlNCFPgz59RHXjSlMoMwBowngmTKswIEVfsG8bX3OjR+Ct6BVtCdkHcKoj/NYX9WjXNoL+TQuUMO7Rty+MBv0rcnVmC8YMVqwQrv91ao4XDsX3qjfyeOPgE=&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 75 70 L 75 103.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 75 108.88 L 71.5 101.88 L 75 103.63 L 78.5 101.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="75" cy="35" rx="65" ry="35" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 128px; height: 1px; padding-top: 35px; margin-left: 11px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
print_data
</div>
</div>
</div>
</foreignObject>
<text x="75" y="39" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
print_data
</text>
</switch>
</g>
<path d="M 75 170 L 75 213.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 75 218.88 L 71.5 211.88 L 75 213.63 L 78.5 211.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 0 170 L 20 110 L 150 110 L 130 170 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 148px; height: 1px; padding-top: 140px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
输出学号姓名成绩
</div>
</div>
</div>
</foreignObject>
<text x="75" y="144" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输出学号姓名成绩
</text>
</switch>
</g>
<ellipse cx="75" cy="260" rx="70" ry="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Text is not SVG - cannot display
</text>
</a>
</switch>
</svg>

After

Width:  |  Height:  |  Size: 4.6 KiB

Loading…
Cancel
Save