概述
<#list sellAmount as row>
<tr align="right">
<#if row_has_next><!--判断是否是最后一条数据-->
<td align="center">${row.pro_baseId}</td>
<td align="center">${row.pro_name}</td>
<#list row.sells as sellsumsrow>
<td align="center">${sellsumsrow.tianmaoSell?c}</td>
<td align="center">${sellsumsrow.youmaSell?c}</td>
<td align="center">${sellsumsrow.jingdongSell?c}</td>
</#list>
<#else>
<td align="center" colspan="2"><b>合计</b></td>
<#list row.listsum as listsum>
<td align="center">${listsum.tianmaoSell?c}</td>
<td align="center">${listsum.youmaSell?c}</td>
<td align="center">${listsum.jingdongSell?c}</td>
</#list>
</#if>
<td align="center">${row.sumTianmaoSell?c}</td>
<td align="center">${row.sumYoumaSell?c}</td>
<td align="center">${row.sumJingdongSell?c}</td>
<td align="center">${row.sumSell?c}</td>
<td align="center">${row.dayAverage?string("0.##")}</td>
<td align="center">${row.lastDayAverage?string("0.##")}</td>
<td align="center">${row.edbstore?c}</td>
<#if (row.dayHold<7)>
<td align="center" bgcolor="#FFFF00">${row.dayHold?string("0.##")}</td>
<#else>
<td align="center">${row.dayHold?string("0.##")}</td>
</#if>
<#if (row.latDayHold<7)>
<td align="center" bgcolor="#FFFF00">${row.latDayHold?string("0.##")}</td>
<#else>
<td align="center">${row.latDayHold?string("0.##")}</td>
</#if>
</tr>
</#list>
<tr>
<td>月份:</td>
<td>
<select class="combox" name="beginMonth">
<option value="">无</option>
<#list months as row>
<option value="${row}" <#if row==beginMonth>selected</#if>>${row}</option>
</#list>
</select>
</td>
</tr>
<#if customerLoc??>
<#list customerLoc?keys as key>
<tr style="border:line;">
<td>
${key}
</td>
<td>
${customerLoc.get(key)?c}
</td>
</tr>
</#list>
</#if>
最后
以上就是称心帅哥为你收集整理的Feemarker中list和map的全部内容,希望文章能够帮你解决Feemarker中list和map所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复