jsp标签及el表达式

<foreach varstatus="idx" var="appoi" items="${consultationList}"><tr> <td>${appoi.patient.name}</td> <td>${appoi.department.departmentName}</td> <td>${appoi.doctor.name}</td> <td>${appoi.noType=="1"?"普通号":appoi.noType=="2"?"主治医生号":appoi.noType=="3"?"副主任医师号":"主任医师号"}</td> <td>${appoi.reserveTime}</td> <td>${appoi.bookTime}</td> <td>${appoi.reserveTime}</td> <td>${appoi.reserveTime}</td> <td>${appoi.reserveTime}</td> </tr></foreach> / strus2的判断标签 <if test="#session.patientId==null"><include page="../common/left.jsp" flush="true"></include></if><else><include page="../common/left1.jsp" flush="true"></include></else> // C标签的使用 <foreach items="${monthList}" var="item"><if test="${((fn:substring(item.sectionNo,0,fn:indexOf(item.sectionNo,'~')) &gt; '8:00') or (fn:substring(item.sectionNo,0,fn:indexOf(item.sectionNo,'~')) == '8:00')) and (fn:substring(item.sectionNo,0,fn:indexOf(item.sectionNo,'~')) &lt; '8:15')}"><if test="${item.noStatus==1}"><span class="fc-event-titlepage" οnclick="showInfo('${item.sectionNo}',event);">预约</span> </if><if test="${item.noStatus==2}"><span class="fc-event-titlepage" id="aa">已预约</span> </if><if test="${item.noStatus==3}"><span class="fc-event-titlepage" id="aa">已停诊</span> </if><if test="${item.noStatus==4}"><span class="fc-event-titlepage" id="aa">已过期</span> </if></if></foreach>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值