邮件统计@部门收发件情况统计
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取部门收发邮件数量</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:90/api/coremailapi/searchDeptMailList</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">beginTime</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>开始时间</td>
</tr>
<tr>
<td style="text-align: left;">endTime</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>截止之间</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>时间类型 D 天、W 周、M 月、Q 季、 Y 年</td>
</tr>
<tr>
<td style="text-align: left;">dept</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>部门名称</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;msg&quot;: &quot;操作成功&quot;,
&quot;code&quot;: 0,
&quot;data&quot;: \[
&quot;total&quot;: 6,
&quot;list&quot;: \[
{
&quot;datetime&quot;: &quot;30&quot;,
&quot;fromlocalnum&quot;: 6668,
&quot;fromexternalnum&quot;: 56,
&quot;tolocalnum&quot;: 38924,
&quot;dept&quot;: &quot;LC&quot;,
&quot;toexternalnum&quot;: 5753,
&quot;tonum&quot;: 44677,
&quot;fromnum&quot;: 6724
},
{
&quot;datetime&quot;: &quot;31&quot;,
&quot;fromlocalnum&quot;: 31164,
&quot;fromexternalnum&quot;: 193,
&quot;tolocalnum&quot;: 93839,
&quot;dept&quot;: &quot;LC&quot;,
&quot;toexternalnum&quot;: 14615,
&quot;tonum&quot;: 108454,
&quot;fromnum&quot;: 31357
},
{
&quot;datetime&quot;: &quot;32&quot;,
&quot;fromlocalnum&quot;: 14778,
&quot;fromexternalnum&quot;: 169,
&quot;tolocalnum&quot;: 100219,
&quot;dept&quot;: &quot;LC&quot;,
&quot;toexternalnum&quot;: 16145,
&quot;tonum&quot;: 116364,
&quot;fromnum&quot;: 14947
},
{
&quot;datetime&quot;: &quot;33&quot;,
&quot;fromlocalnum&quot;: 13996,
&quot;fromexternalnum&quot;: 185,
&quot;tolocalnum&quot;: 107703,
&quot;dept&quot;: &quot;LC&quot;,
&quot;toexternalnum&quot;: 15952,
&quot;tonum&quot;: 123655,
&quot;fromnum&quot;: 14181
},
{
&quot;datetime&quot;: &quot;34&quot;,
&quot;fromlocalnum&quot;: 12692,
&quot;fromexternalnum&quot;: 224,
&quot;tolocalnum&quot;: 129262,
&quot;dept&quot;: &quot;LC&quot;,
&quot;toexternalnum&quot;: 12761,
&quot;tonum&quot;: 142023,
&quot;fromnum&quot;: 12916
},
{
&quot;datetime&quot;: &quot;35&quot;,
&quot;fromlocalnum&quot;: 41449,
&quot;fromexternalnum&quot;: 186,
&quot;tolocalnum&quot;: 103562,
&quot;dept&quot;: &quot;LC&quot;,
&quot;toexternalnum&quot;: 15509,
&quot;tonum&quot;: 119071,
&quot;fromnum&quot;: 41635
}
\],
&quot;pageNum&quot;: 1,
&quot;pageSize&quot;: 10,
&quot;size&quot;: 6,
&quot;startRow&quot;: 1,
&quot;endRow&quot;: 6,
&quot;pages&quot;: 1,
&quot;prePage&quot;: 0,
&quot;nextPage&quot;: 0,
&quot;isFirstPage&quot;: true,
&quot;isLastPage&quot;: true,
&quot;hasPreviousPage&quot;: false,
&quot;hasNextPage&quot;: false,
&quot;navigatePages&quot;: 8,
&quot;navigatepageNums&quot;: \[
1
\],
&quot;navigateFirstPage&quot;: 1,
&quot;navigateLastPage&quot;: 1,
&quot;firstPage&quot;: 1,
&quot;lastPage&quot;: 1
\]
}</code></pre>
<h5>返回参数说明</h5>
<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;">datetime</td>
<td style="text-align: left;">String</td>
<td>时间</td>
</tr>
<tr>
<td style="text-align: left;">dept</td>
<td style="text-align: left;">String</td>
<td>部门</td>
</tr>
<tr>
<td style="text-align: left;">fromnum</td>
<td style="text-align: left;">int</td>
<td>发件数量</td>
</tr>
<tr>
<td style="text-align: left;">fromlocalnum</td>
<td style="text-align: left;">int</td>
<td>内部发件数量</td>
</tr>
<tr>
<td style="text-align: left;">fromexternalnum</td>
<td style="text-align: left;">int</td>
<td>外部发件数量</td>
</tr>
<tr>
<td style="text-align: left;">tonum</td>
<td style="text-align: left;">int</td>
<td>收件数量</td>
</tr>
<tr>
<td style="text-align: left;">tolocalnum</td>
<td style="text-align: left;">int</td>
<td>内部收件数量</td>
</tr>
<tr>
<td style="text-align: left;">toexternalnum</td>
<td style="text-align: left;">int</td>
<td>外部收件数量</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>