<table id="tableExcelAll"
class="table table-striped datagrid m-b-sm table1">
<thead>
<tr>
<th width="20"><input type="checkbox"></th>
<th style="width: 10%">二維碼ID</th>
<th style="width: 10%">啟動碼</th>
<th style="width: 20%">列印碼</th>
<th style="width: 10%">商品編號</th>
<th style="width: 10%">會員</th>
<th style="width: 10%">寵物</th>
<th style="width: 20%">啟動時間</th>
</tr>
</thead>
#foreach($code in $allTagList)
<tr>
<th width="20"><input type="checkbox"></th>
<td style="text-align: center">$!code.identityNo</td>
<td style="text-align: center">$!code.startCode</td>
<td style="text-align: center">http://jiume.co/jiumephone/login.html?startCode=$!code.startCode&identityNo=$!code.identityNo</td>
<td style="text-align: center">$!code.modifier</td>
<td style="text-align: center">#if($!code.cell)
$!code.cell #else 當前無會員 #end</td>
<td style="text-align: center">#if($!code.getIdentityNo()&&$!code.getIdentityNo()!="")
#set ($protype=$!code.identityNo.substring(0,1))
#if($!protype=="A")狗
#elseif($!protype=="B")貓
#else 其他
#end
#else 當前無寵物
#end</td>
<td style="text-align: center">$!dateUtils.format($!code.gmtModified,'yyyy-MM-dd
HH:mm:ss')</td>
<td style="text-align: center">$!dateUtils.format($!code.gmtModified,'yyyy-MM-dd
HH:mm:ss')</td>
</tr>
#end
</table>
Velocity代码片段
最新推荐文章于 2023-07-28 18:56:19 发布