年级-科目列表
<p>未完成</p>
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取所有的年级和相应的科目</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li>
<p><code>测试 http://47.93.115.228:9002/grade/findAllGradeSubject</code></p>
</li>
<li><code>本地 http://localhost:8080/grade/findAllGradeSubject</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>
<p>POST </p>
<p><strong>返回示例</strong></p>
</li>
</ul>
<pre><code>{
&quot;MSG&quot;: &quot;&quot;,
&quot;STATE&quot;: &quot;0&quot;,
&quot;OBJECT&quot;: [
{
&quot;GRADENAME&quot;: &quot;小班&quot;,
&quot;GRADEID&quot;: 11,
&quot;SUBGECTLIST&quot;: []
},
{
&quot;GRADENAME&quot;: &quot;中班&quot;,
&quot;GRADEID&quot;: 12,
&quot;SUBGECTLIST&quot;: []
},
{
&quot;GRADENAME&quot;: &quot;大班&quot;,
&quot;GRADEID&quot;: 4,
&quot;SUBGECTLIST&quot;: []
},
{
&quot;GRADENAME&quot;: &quot;一年级&quot;,
&quot;GRADEID&quot;: 1,
&quot;SUBGECTLIST&quot;: [
{
&quot;SUBJECTID&quot;: 5,
&quot;GRADENAME&quot;: &quot;一年级&quot;,
&quot;GRADEID&quot;: 1,
&quot;SUBJECTNAME&quot;: &quot;英语&quot;
},
{
&quot;SUBJECTID&quot;: 6,
&quot;GRADENAME&quot;: &quot;一年级&quot;,
&quot;GRADEID&quot;: 1,
&quot;SUBJECTNAME&quot;: &quot;思想品德&quot;
},
{
&quot;SUBJECTID&quot;: 2,
&quot;GRADENAME&quot;: &quot;一年级&quot;,
&quot;GRADEID&quot;: 1,
&quot;SUBJECTNAME&quot;: &quot;数学&quot;
},
{
&quot;SUBJECTID&quot;: 1,
&quot;GRADENAME&quot;: &quot;一年级&quot;,
&quot;GRADEID&quot;: 1,
&quot;SUBJECTNAME&quot;: &quot;语文&quot;
}
]
},
{
&quot;GRADENAME&quot;: &quot;二年级&quot;,
&quot;GRADEID&quot;: 3,
&quot;SUBGECTLIST&quot;: [
{
&quot;SUBJECTID&quot;: 6,
&quot;GRADENAME&quot;: &quot;二年级&quot;,
&quot;GRADEID&quot;: 3,
&quot;SUBJECTNAME&quot;: &quot;思想品德&quot;
},
{
&quot;SUBJECTID&quot;: 1,
&quot;GRADENAME&quot;: &quot;二年级&quot;,
&quot;GRADEID&quot;: 3,
&quot;SUBJECTNAME&quot;: &quot;语文&quot;
},
{
&quot;SUBJECTID&quot;: 5,
&quot;GRADENAME&quot;: &quot;二年级&quot;,
&quot;GRADEID&quot;: 3,
&quot;SUBJECTNAME&quot;: &quot;英语&quot;
}
]
},
{
&quot;GRADENAME&quot;: &quot;三年级&quot;,
&quot;GRADEID&quot;: 13,
&quot;SUBGECTLIST&quot;: []
},
{
&quot;GRADENAME&quot;: &quot;五年级&quot;,
&quot;GRADEID&quot;: 6,
&quot;SUBGECTLIST&quot;: []
},
{
&quot;GRADENAME&quot;: &quot;六年级&quot;,
&quot;GRADEID&quot;: 14,
&quot;SUBGECTLIST&quot;: []
},
{
&quot;GRADENAME&quot;: &quot;初二&quot;,
&quot;GRADEID&quot;: 7,
&quot;SUBGECTLIST&quot;: [
{
&quot;SUBJECTID&quot;: 2,
&quot;GRADENAME&quot;: &quot;初二&quot;,
&quot;GRADEID&quot;: 7,
&quot;SUBJECTNAME&quot;: &quot;数学&quot;
}
]
},
{
&quot;GRADENAME&quot;: &quot;初一&quot;,
&quot;GRADEID&quot;: 5,
&quot;SUBGECTLIST&quot;: [
{
&quot;SUBJECTID&quot;: 5,
&quot;GRADENAME&quot;: &quot;初一&quot;,
&quot;GRADEID&quot;: 5,
&quot;SUBJECTNAME&quot;: &quot;英语&quot;
},
{
&quot;SUBJECTID&quot;: 2,
&quot;GRADENAME&quot;: &quot;初一&quot;,
&quot;GRADEID&quot;: 5,
&quot;SUBJECTNAME&quot;: &quot;数学&quot;
}
]
},
{
&quot;GRADENAME&quot;: &quot;初三&quot;,
&quot;GRADEID&quot;: 9,
&quot;SUBGECTLIST&quot;: []
},
{
&quot;GRADENAME&quot;: &quot;高一&quot;,
&quot;GRADEID&quot;: 8,
&quot;SUBGECTLIST&quot;: [
{
&quot;SUBJECTID&quot;: 6,
&quot;GRADENAME&quot;: &quot;高一&quot;,
&quot;GRADEID&quot;: 8,
&quot;SUBJECTNAME&quot;: &quot;思想品德&quot;
}
]
}
]
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">GRADENAME</td>
<td style="text-align: left;">String</td>
<td>年级名</td>
</tr>
<tr>
<td style="text-align: left;">GRADEID</td>
<td style="text-align: left;">int</td>
<td>年级id</td>
</tr>
<tr>
<td style="text-align: left;">SUBGECTLIST</td>
<td style="text-align: left;">list</td>
<td>科目列表(没有对应的科目时list是空的)</td>
</tr>
<tr>
<td style="text-align: left;">SUBJECTID</td>
<td style="text-align: left;">int</td>
<td>科目id</td>
</tr>
<tr>
<td style="text-align: left;">GRADENAME</td>
<td style="text-align: left;">String</td>
<td>年级名</td>
</tr>
<tr>
<td style="text-align: left;">GRADEID</td>
<td style="text-align: left;">int</td>
<td>年级id</td>
</tr>
<tr>
<td style="text-align: left;">SUBJECTNAME</td>
<td style="text-align: left;">String</td>
<td>科目名</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>