Spring MVC页面列表的循环和判断
来源:互联网 发布:淘宝客服术语结束语 编辑:程序博客网 时间:2024/06/05 08:17
<table id="dataTable" class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th>序号</th>
<th>提现单号</th>
<th>提现金额</th>
<th>帐号</th>
<th>提现时间</th>
<th>提现状态</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<c:choose>
<c:when test="${listsize ==0 }">
<tr>
<td colspan="13">没有查询到相关信息.</td>
</tr>
</c:when>
<c:otherwise>
<c:forEach items="${list}" var="fund">
<tr>
<td>${fund.id}</td>
<td>${fund.pay_number}</td>
<td>${fund.pay_money}</td>
<td>${fund.pay_account}</td>
<td>${fund.reqs_time}</td>
<td>
<c:choose>
<c:when test="${fund.pay_status=='4'}">
待审核
</c:when>
<c:when test="${fund.pay_status=='3'}">
提现成功
</c:when>
<c:when test="${fund.pay_status=='2'}">
提现处理中
</c:when>
<c:when test="${fund.pay_status=='1'}">
提现失败
</c:when>
<c:when test="${fund.pay_status=='0'}">
审核失败
</c:when>
</c:choose>
</td>
<td>${fund.refuse_reason}</td>
</tr>
</c:forEach>
</c:otherwise>
</c:choose>
</tbody>
</table>
<thead>
<tr>
<th>序号</th>
<th>提现单号</th>
<th>提现金额</th>
<th>帐号</th>
<th>提现时间</th>
<th>提现状态</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<c:choose>
<c:when test="${listsize ==0 }">
<tr>
<td colspan="13">没有查询到相关信息.</td>
</tr>
</c:when>
<c:otherwise>
<c:forEach items="${list}" var="fund">
<tr>
<td>${fund.id}</td>
<td>${fund.pay_number}</td>
<td>${fund.pay_money}</td>
<td>${fund.pay_account}</td>
<td>${fund.reqs_time}</td>
<td>
<c:choose>
<c:when test="${fund.pay_status=='4'}">
待审核
</c:when>
<c:when test="${fund.pay_status=='3'}">
提现成功
</c:when>
<c:when test="${fund.pay_status=='2'}">
提现处理中
</c:when>
<c:when test="${fund.pay_status=='1'}">
提现失败
</c:when>
<c:when test="${fund.pay_status=='0'}">
审核失败
</c:when>
</c:choose>
</td>
<td>${fund.refuse_reason}</td>
</tr>
</c:forEach>
</c:otherwise>
</c:choose>
</tbody>
</table>
0 0
- Spring MVC页面列表的循环和判断
- jsp页面的循环、判断、截取列表的代码写法
- Spring MVC 和 img 完成 页面的图片显示
- easyui 与 spring MVC 的列表显示
- python中的关于列表for循环和条件判断的混用
- python的判断和循环
- python的判断和循环
- 只有一个页面的spring mvc
- spring mvc 返回HTML页面的一系列问题
- spring-mvc无法访问jsp页面的问题
- Spring和spring MVC,spring MVC和Strut2的区别
- Spring MVC和Struts2 MVC的区别
- spring mvc 和struct mvc 的区别
- Spring MVC 和 struts MVC的区别。
- spring mvc 页面跳转
- Spring MVC 的的异常处理(跳转页面和返回json双模式)
- spring mvc 页面与页面之间的对象传值
- Spring mvc / 和 /*的区别
- ACM学习-动态规划-不老的传说问题
- 面试
- android中巧妙更改spinner、AutoCompleteTextView分割线的颜色值(spinner AutoCompleteTextView divider color)
- JavaScript编程常用函数
- Xms Xmx PermSize MaxPermSize 区别
- Spring MVC页面列表的循环和判断
- ZOJ 题目3777 Problem Arrangement(状态压缩DP)
- 创建型模式简介
- 数据结构实验1(顺序表逆置以及删除)
- 第一阶段实训总结
- 数据结构 三元组 C语言实现
- android多线程详解之AsyncTask
- Python中基本语法
- 软件测试之常识篇 4