分页查询自己任务
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>根据里程碑id分页查询任务</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/suppliermanager/project/getMyMilestonePage</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</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;">pageSize</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">pageNum</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>里程碑/任务名称</td>
</tr>
<tr>
<td style="text-align: left;">taskState</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>1进行中,2已完成</td>
</tr>
<tr>
<td style="text-align: left;">projectName</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;Success!&quot;,
&quot;code&quot;: 200,
&quot;obj&quot;: {
&quot;records&quot;: [
{
&quot;id&quot;: &quot;cf2ebdacaa09416e861f71cbe80f198c&quot;,
&quot;name&quot;: &quot;2222&quot;,
&quot;userName&quot;: &quot;我爱罗&quot;,
&quot;userId&quot;: &quot;16&quot;,
&quot;taskState&quot;: &quot;1&quot;,
&quot;remark&quot;: &quot;111&quot;,
&quot;startTime&quot;: &quot;2024-11-01 00:00:00&quot;,
&quot;endTime&quot;: &quot;2024-11-09 00:00:00&quot;,
&quot;day&quot;: 9,
&quot;trueStartTime&quot;: null,
&quot;trueEndTime&quot;: null,
&quot;trueDay&quot;: null,
&quot;projectId&quot;: &quot;69e269f70841400b8b8348132e39d1d7&quot;,
&quot;projectName&quot;: &quot;长城贴瓷砖项目&quot;,
&quot;milestoneId&quot;: &quot;0de53efd079e9b2aa023c8ff4daf04f3&quot;,
&quot;milestoneName&quot;: &quot;实施项目+&quot;,
&quot;number&quot;: null,
&quot;wbsNum&quot;: &quot;2&quot;,
&quot;section&quot;: &quot;第一段&quot;,
&quot;sectionId&quot;: &quot;111&quot;,
&quot;createBy&quot;: &quot;admin&quot;,
&quot;createByName&quot;: &quot;1&quot;,
&quot;createTime&quot;: &quot;2024-11-22 08:51:40&quot;,
&quot;updateTime&quot;: &quot;2024-11-22 08:51:40&quot;,
&quot;sort&quot;: 2,
&quot;isDel&quot;: &quot;0&quot;,
&quot;wbs&quot;: null
},
{
&quot;id&quot;: &quot;9f2fa0f06ac346be8f76377d563cb151&quot;,
&quot;name&quot;: &quot;111&quot;,
&quot;userName&quot;: &quot;我爱罗&quot;,
&quot;userId&quot;: &quot;16&quot;,
&quot;taskState&quot;: &quot;1&quot;,
&quot;remark&quot;: &quot;1111&quot;,
&quot;startTime&quot;: &quot;2024-11-21 00:00:00&quot;,
&quot;endTime&quot;: &quot;2024-11-30 00:00:00&quot;,
&quot;day&quot;: 10,
&quot;trueStartTime&quot;: null,
&quot;trueEndTime&quot;: null,
&quot;trueDay&quot;: null,
&quot;projectId&quot;: &quot;69e269f70841400b8b8348132e39d1d7&quot;,
&quot;projectName&quot;: &quot;长城贴瓷砖项目&quot;,
&quot;milestoneId&quot;: &quot;0de53efd079e9b2aa023c8ff4daf04f3&quot;,
&quot;milestoneName&quot;: &quot;实施项目+&quot;,
&quot;number&quot;: null,
&quot;wbsNum&quot;: &quot;2&quot;,
&quot;section&quot;: &quot;第一段&quot;,
&quot;sectionId&quot;: &quot;111&quot;,
&quot;createBy&quot;: &quot;admin&quot;,
&quot;createByName&quot;: &quot;1&quot;,
&quot;createTime&quot;: &quot;2024-11-22 13:22:54&quot;,
&quot;updateTime&quot;: &quot;2024-11-22 13:22:54&quot;,
&quot;sort&quot;: 4,
&quot;isDel&quot;: &quot;0&quot;,
&quot;wbs&quot;: null
},
{
&quot;id&quot;: &quot;ade9bc1f49724b5a99f0704c5afd1c75&quot;,
&quot;name&quot;: &quot;1111&quot;,
&quot;userName&quot;: &quot;我爱罗&quot;,
&quot;userId&quot;: &quot;16&quot;,
&quot;taskState&quot;: &quot;1&quot;,
&quot;remark&quot;: &quot;111&quot;,
&quot;startTime&quot;: &quot;2024-11-22 00:00:00&quot;,
&quot;endTime&quot;: &quot;2024-11-22 00:00:00&quot;,
&quot;day&quot;: 1,
&quot;trueStartTime&quot;: null,
&quot;trueEndTime&quot;: null,
&quot;trueDay&quot;: null,
&quot;projectId&quot;: &quot;69e269f70841400b8b8348132e39d1d7&quot;,
&quot;projectName&quot;: &quot;长城贴瓷砖项目&quot;,
&quot;milestoneId&quot;: &quot;222&quot;,
&quot;milestoneName&quot;: &quot;项目结束+&quot;,
&quot;number&quot;: null,
&quot;wbsNum&quot;: &quot;3&quot;,
&quot;section&quot;: &quot;第一段&quot;,
&quot;sectionId&quot;: &quot;111&quot;,
&quot;createBy&quot;: &quot;admin&quot;,
&quot;createByName&quot;: &quot;1&quot;,
&quot;createTime&quot;: &quot;2024-11-22 13:23:05&quot;,
&quot;updateTime&quot;: &quot;2024-11-22 13:23:05&quot;,
&quot;sort&quot;: 1,
&quot;isDel&quot;: &quot;0&quot;,
&quot;wbs&quot;: null
},
{
&quot;id&quot;: &quot;964d7e7d4a8747a8bab9baa1db3c31d8&quot;,
&quot;name&quot;: &quot;111&quot;,
&quot;userName&quot;: &quot;我爱罗&quot;,
&quot;userId&quot;: &quot;16&quot;,
&quot;taskState&quot;: &quot;1&quot;,
&quot;remark&quot;: &quot;111&quot;,
&quot;startTime&quot;: &quot;2024-11-22 00:00:00&quot;,
&quot;endTime&quot;: &quot;2024-11-22 00:00:00&quot;,
&quot;day&quot;: 1,
&quot;trueStartTime&quot;: null,
&quot;trueEndTime&quot;: null,
&quot;trueDay&quot;: null,
&quot;projectId&quot;: &quot;69e269f70841400b8b8348132e39d1d7&quot;,
&quot;projectName&quot;: &quot;长城贴瓷砖项目&quot;,
&quot;milestoneId&quot;: &quot;111&quot;,
&quot;milestoneName&quot;: &quot;项目开工+&quot;,
&quot;number&quot;: null,
&quot;wbsNum&quot;: &quot;1&quot;,
&quot;section&quot;: &quot;第一段&quot;,
&quot;sectionId&quot;: &quot;111&quot;,
&quot;createBy&quot;: &quot;admin&quot;,
&quot;createByName&quot;: &quot;1&quot;,
&quot;createTime&quot;: &quot;2024-11-22 13:23:17&quot;,
&quot;updateTime&quot;: &quot;2024-11-22 13:23:17&quot;,
&quot;sort&quot;: 4,
&quot;isDel&quot;: &quot;0&quot;,
&quot;wbs&quot;: null
}
],
&quot;total&quot;: 4,
&quot;size&quot;: 10,
&quot;current&quot;: 1,
&quot;orders&quot;: [],
&quot;optimizeCountSql&quot;: true,
&quot;hitCount&quot;: false,
&quot;countId&quot;: null,
&quot;maxLimit&quot;: null,
&quot;searchCount&quot;: true,
&quot;pages&quot;: 1
},
&quot;success&quot;: true
}</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;">id</td>
<td style="text-align: left;">String</td>
<td>任务id</td>
</tr>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">String</td>
<td>任务名称</td>
</tr>
<tr>
<td style="text-align: left;">userName</td>
<td style="text-align: left;">String</td>
<td>负责人名称</td>
</tr>
<tr>
<td style="text-align: left;">userId</td>
<td style="text-align: left;">String</td>
<td>负责人id</td>
</tr>
<tr>
<td style="text-align: left;">taskState</td>
<td style="text-align: left;">String</td>
<td>任务状态1进行中 2完成</td>
</tr>
<tr>
<td style="text-align: left;">remark</td>
<td style="text-align: left;">String</td>
<td>任务描述</td>
</tr>
<tr>
<td style="text-align: left;">startTime</td>
<td style="text-align: left;">date</td>
<td>计划开始时间</td>
</tr>
<tr>
<td style="text-align: left;">endTime</td>
<td style="text-align: left;">date</td>
<td>计划结束时间</td>
</tr>
<tr>
<td style="text-align: left;">day</td>
<td style="text-align: left;">int</td>
<td>计划天数</td>
</tr>
<tr>
<td style="text-align: left;">trueStartTime</td>
<td style="text-align: left;">date</td>
<td>实际开始时间</td>
</tr>
<tr>
<td style="text-align: left;">trueEndTime</td>
<td style="text-align: left;">date</td>
<td>实际结束时间</td>
</tr>
<tr>
<td style="text-align: left;">trueDay</td>
<td style="text-align: left;">int</td>
<td>实际天数</td>
</tr>
<tr>
<td style="text-align: left;">projectId</td>
<td style="text-align: left;">String</td>
<td>项目id</td>
</tr>
<tr>
<td style="text-align: left;">projectName</td>
<td style="text-align: left;">String</td>
<td>项目名称</td>
</tr>
<tr>
<td style="text-align: left;">section</td>
<td style="text-align: left;">String</td>
<td>项目标段</td>
</tr>
<tr>
<td style="text-align: left;">sectionId</td>
<td style="text-align: left;">String</td>
<td>项目标段id</td>
</tr>
<tr>
<td style="text-align: left;">createBy</td>
<td style="text-align: left;">String</td>
<td>创建人</td>
</tr>
<tr>
<td style="text-align: left;">createByName</td>
<td style="text-align: left;">String</td>
<td>创建人名称</td>
</tr>
<tr>
<td style="text-align: left;">createTime</td>
<td style="text-align: left;">date</td>
<td>创建时间</td>
</tr>
<tr>
<td style="text-align: left;">updateTime</td>
<td style="text-align: left;">date</td>
<td>修改时间</td>
</tr>
<tr>
<td style="text-align: left;">sort</td>
<td style="text-align: left;">String</td>
<td>排序</td>
</tr>
<tr>
<td style="text-align: left;">isDel</td>
<td style="text-align: left;">String</td>
<td>是否删除1删除0有效</td>
</tr>
<tr>
<td style="text-align: left;">milestoneId</td>
<td style="text-align: left;">String</td>
<td>里程碑id</td>
</tr>
<tr>
<td style="text-align: left;">milestoneName</td>
<td style="text-align: left;">String</td>
<td>里程碑名称</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>