if (className.equals("DQFNWP5")) {
List<TBFtLog> logs = (List<TBFtLog>) systemService
.findListByHql("from TBFtLog where tf_print = 'N' and tf_lot = '" + object[1] + "'");
if (logs == null || (logs != null && logs.size() == 0)) {
request.setAttribute("opeFlag", true);
} else {
request.setAttribute("opeFlag", false);
}
}
request.setAttribute("testFlag", testFlag);
<c:choose>
<c:when test="${className == 'DQFNWP5' }">
<c:choose>
<c:when test="${opeFlag == true }">
<input type="submit" class="submit" id="submit" value="保存" />
</c:when>
<c:otherwise>
<font color='red' style="font-size:12px;">请确认片标签是否已打印</font>
</c:otherwise>
</c:choose>
判断多个条件
最新推荐文章于 2024-06-26 20:54:37 发布