不能直接: <c:if test="${pickupInStoreTaskStatus.id}==${pickupInStore.status}">
或者:<c:if test="${ ${pickupInStoreTaskStatus.id} == ${pickupInStore.status} }">
<c:forEach items="${pickupList}" var="pickupInStore" varStatus="rows">
<spring:url value="recordDetail" var="viewPickupInStoreUrl" htmlEscape="false">
<spring:param name="code" value="${pickupInStore.code}"/>
</spring:url>
<div id="id-${rows.index}" class="pull-left">
<tbody>
<tr>
<td>${rows.index+1} </td>
<td>
<a popup-url="${viewPickupInStoreUrl}">
${fn:escapeXml(pickupInStore.code)}
</a>
</td>
<td>${fn:escapeXml(pickupInStore.arrivalTime)} </td>
<td>${fn:escapeXml(pickupInStore.vehicleNumber)} </td>
<td>${fn:escapeXml(pickupInStore.sender)} </td>
<td>${fn:escapeXml(pickupInStore.phoneNumber)} </td>
<td>${fn:escapeXml(pickupInStore.reserve)} </td>
<c:forEach items="${pickupinstoretask_status}" var="pickupInStoreTaskStatus">
<c:if test="${pickupInStoreTaskStatus.id==pickupInStore.status}">
<td> ${pickupInStoreTaskStatus.label} </td>
</c:if>
</c:forEach>
<td>${fn:escapeXml(pickupInStore.workOrderNumber)} </td>
<td>${fn:escapeXml(pickupInStore.workOrderStatus)} </td>
<td>${fn:escapeXml(pickupInStore.serviceConsultant)} </td>
<td>${fn:escapeXml(pickupInStore.closedReason)} </td>
</tr>
</tbody>
</div>
</c:forEach>
网友评论