1、前臺通過js讀取table除第一行(標題欄)以外的數據,組裝成json字符傳
2、通過ajax傳遞給後臺
3、後臺通過json工具包將json字符串解析成List<Map>
前臺代碼
<table id="table" >
<thead>
<tr class="backgroundF5F5F5">
<th>title1</th>
<th>title2</th>
<th>title3</th>
<th>title點</th>
<th>title名</th>
<th>title時間</th>
</tr>
</thead>
<tr class="backgroundF5F5F5">
<td>info1</td>
<td>info2</td>
<td>info3</td>
<td>info點</td>
<td>info名</td>
<td>info時間</td>
</tr>
</table>