美文网首页
Velocity if else判断对象里面的值

Velocity if else判断对象里面的值

作者: faunjoe | 来源:发表于2018-09-11 15:00 被阅读0次
#foreach($fundDeteposit in $!list)  
                <tr bgcolor="#f3f3f3">  
                    <td height="32px">$!{fundDeteposit.merchantId}</td>  
                    <td height="32px">$!{fundDeteposit.depositAmt}</td>  
                    <td height="32px">$!{fundDeteposit.bankRemark}</td>  
                    <td height="32px">$!{fundDeteposit.applyOperId}</td>  
                    <td height="32px">$!{fundDeteposit.applyDate}</td>  
                    <td height="32px">$!{fundDeteposit.approvalOperId}</td>  
                    <td height="32px">$!{fundDeteposit.approvalDate}</td>  
                    <td height="32px">  
                        #if($!fundDeteposit.status ==  0)  
                            审核成功  
                        #elseif($!fundDeteposit.status == 1)  
                            审核失败  
                        #elseif($!fundDeteposit.status == 2)  
                            等待审核  
                        #else  
                            $!{fundDeteposit.status}  
                        #end  
                    </td>  
                </tr>  
#end  

相关文章

网友评论

      本文标题:Velocity if else判断对象里面的值

      本文链接:https://www.haomeiwen.com/subject/pkjugftx.html