代码如下:
<td class="showTd_HK" align="center"> <c:if test="${(rwyy01.yyry==NULL || rwyy01.yyry=='') && (rwyy01.shry==NULL || rwyy01.shry=='') && (rwyy01.qrry==NULL || rwyy01.qrry=='')}">输入</c:if> <c:if test="${(rwyy01.yyry!=NULL && rwyy01.yyry!='') && (rwyy01.shry==NULL || rwyy01.shry=='') && (rwyy01.qrry==NULL || rwyy01.qrry=='')}">预约</c:if> <c:if test="${(rwyy01.shry!=NULL && rwyy01.shry!='') && (rwyy01.qrry==NULL || rwyy01.qrry=='')}">审核</c:if> <c:if test="${rwyy01.qrry!=NULL && rwyy01.qrry!=''}">确认</c:if> </td>
test="",引号里面结果为boolean类型,可以跟普通代码里面一样,用用与或非运算,只要引号里面运算结果是boolean类型即可;
"或"运算可以用"||"和"or"表示,"与"运算可以用"&&"和"and"表示。