$!{velocityCount}数量是从1开始的,所以获取下标直接-1就可以了,关于总数量直接$!{list.size()}。
- #foreach($fundDet in $!list)
- <tr bgcolor="#f3f3f3">
- <td><input name="" type="checkbox" value="" style="border:none"/></td>
- <td height="32px">$!{velocityCount}</td>
- <td height="32px">$!{list.size()}</td><!-- debitAmt -->
- <td height="32px">$!{fundDet.creditAmt}</td>
- <td height="32px">$!{fundDet.profitAmt}</td>
- <td height="32px">$!{fundDet.fundSource}</td>
- <td height="32px">$!{fundDet.preBalance}</td>
- <td height="32px">$!{fundDet.balance}</td>
- <td height="32px">$!{fundDet.transSerial}</td>
- <td height="32px">$!{fundDet.transDate}</td>
- <td height="32px">$!{fundDet.transTime}</td>
- <td height="32px">$!{fundDet.comments}</td>
- <td height="32px">$!{fundDet.status}</td>
- <td height="32px">$!{fundDet.settleDate}</td>
- </tr>