⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 materialchangetable_005fupdate_jsp.java

📁 JSP移动商品管理平台源代码.........
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
          out.write("<option value=\"\">无");
          out.write("</option>\r\n\t\t\t\t\t\t\t ");
 
							   MaterialChangeBean mbb = new MaterialChangeBean();
  								mbb = (MaterialChangeBean)request.getAttribute("mate");
								String buildingNu = null;
								String buildingName = null;
								HousBuildingAndRoom mate3 = new HousBuildingAndRoom();
								ArrayList buildList = mate3.getBuildingList();
								Iterator buildItr = buildList.iterator();
								 while (buildItr.hasNext()) {
									Hashtable ht = (Hashtable) buildItr.next();  
									buildingNu = ht.get("BuildingNu").toString();
									buildingName = ht.get("BuildingName").toString();
									if(mbb!=null && mbb.getBuildingNu()!=null && mbb.getBuildingNu().equals(buildingNu)){
          out.write("\r\n\t\t\t\t\t\t\t\t\t\t");
          out.write("<option value=");
          out.print(buildingNu);
          out.write(" selected>");
          out.print(buildingName);
          out.write("</option>\r\n\t\t\t\t\t\t\t\t\t\t");
}
									else
										{
          out.write("\r\n");
          out.write("\r\n\t\t\t\t\t\t\t\t\t\t");
		
										}
										}
										
          out.write("\r\n\t\t\t\t\t  ");
          out.write("</select>\r\n      ");
          out.write("</td>\r\n      ");
          out.write("<td align=\"right\" width=\"14%\">放置位置房间");
          out.write("</td>\r\n      ");
          out.write("<td>          \r\n");
          out.write("\r\n\t\t");
          out.write("<select name=\"roomNu\" id=\"roomNu\" class=\"text1\">\r\n\t\t\t");
          out.write("<option value=\"\">无");
          out.write("</option>\r\n\t\t\t");
 
  			ArrayList roomList = (ArrayList)request.getAttribute("roomList");
			String RoomNu = null;
			if(roomList!=null && roomList.size() != 0) {
				Iterator itr2 = roomList.iterator();
			while (itr2.hasNext()) {
				Hashtable ht = (Hashtable) itr2.next();  
				RoomNu = ht.get("RoomNu").toString();
				if(mbb!=null && mbb.getRoomNu()!=null && mbb.getRoomNu().equals(RoomNu)){
          out.write("\r\n\t\t\t");
          out.write("<option value=");
          out.print(RoomNu);
          out.write(" selected>");
          out.print(RoomNu);
          out.write("</option>\r\n\t\t\t");
}
			else
			{
          out.write("\r\n");
          out.write("\r\n\t\t\t");
		
			}
			}}
			
          out.write("\r\n\t\t");
          out.write("</select>\r\n        ");
          out.write("</td>");
          out.write("</tr>\r\n    ");
          out.write("<tr>\r\n      ");
          out.write("<td width=\"18%\">");
          out.write("<div align=\"right\">更变原因");
          out.write("</div>");
          out.write("</td>\r\n      ");
          out.write("<td align=\"left\">");
          out.write("<textarea name=\"changeCause\" cols=\"20\" rows=\"4\" id=\"changeCause\"  class=\"textarea1\" readonly=\"readonly\"> ");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.mate.changeCause}", java.lang.String.class, (PageContext)pageContext, null, false));
          out.write("</textarea>\r\n      ");
          out.write("</td>\r\n      ");
          out.write("<td width=\"14%\">");
          out.write("<div align=\"right\">摘要");
          out.write("</div>");
          out.write("</td>\r\n      ");
          out.write("<td align=\"left\">");
          out.write("<textarea name=\"remark\" cols=\"20\" rows=\"4\" id=\"remark\"  class=\"textarea1\" readonly=\"readonly\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.mate.reMark}", java.lang.String.class, (PageContext)pageContext, null, false));
          out.write("</textarea>\r\n      ");
          out.write("</td>\r\n    ");
          out.write("</tr>");
          out.write("<tr>\r\n\t\t\t\t\t\t");
          out.write("<td>&nbsp;");
          out.write("</td>\r\n\t\t\t\t\t\t");
          out.write("</tr>\r\n\t");
          if (_jspx_meth_c_if_5(_jspx_th_c_if_0, pageContext))
            return;
          out.write("\r\n    ");
          if (_jspx_meth_c_if_6(_jspx_th_c_if_0, pageContext))
            return;
          out.write("\r\n  ");
          out.write("</table>\r\n");
          out.write("</form>\r\n");
          int evalDoAfterBody = _jspx_th_c_if_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_if_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0);
      out.write("\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (pageContext != null) pageContext.handlePageException(t);
      }
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }

  private boolean _jspx_meth_c_if_1(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_0, PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_1 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_if_1.setPageContext(pageContext);
    _jspx_th_c_if_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_0);
    _jspx_th_c_if_1.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.mate.changeType==1}", java.lang.Boolean.class, (PageContext)pageContext, null, false)).booleanValue());
    int _jspx_eval_c_if_1 = _jspx_th_c_if_1.doStartTag();
    if (_jspx_eval_c_if_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n\t\t\t\t\t");
        out.write("<option value=\"1\" selected>入库");
        out.write("</option>\r\n\t\t\t\t");
        int evalDoAfterBody = _jspx_th_c_if_1.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_if_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_1);
    return false;
  }

  private boolean _jspx_meth_c_if_2(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_0, PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_2 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_if_2.setPageContext(pageContext);
    _jspx_th_c_if_2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_0);
    _jspx_th_c_if_2.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.mate.changeType==2}", java.lang.Boolean.class, (PageContext)pageContext, null, false)).booleanValue());
    int _jspx_eval_c_if_2 = _jspx_th_c_if_2.doStartTag();
    if (_jspx_eval_c_if_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n\t\t\t\t\t");
        out.write("<option value=\"2\" selected>转部门");
        out.write("</option>\r\n\t\t\t\t");
        int evalDoAfterBody = _jspx_th_c_if_2.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_if_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_2);
    return false;
  }

  private boolean _jspx_meth_c_if_3(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_0, PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_3 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_if_3.setPageContext(pageContext);
    _jspx_th_c_if_3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_0);
    _jspx_th_c_if_3.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.mate.changeType==3}", java.lang.Boolean.class, (PageContext)pageContext, null, false)).booleanValue());
    int _jspx_eval_c_if_3 = _jspx_th_c_if_3.doStartTag();
    if (_jspx_eval_c_if_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n\t\t\t\t\t");
        out.write("<option value=\"3\" selected>报废");
        out.write("</option>\r\n\t\t\t\t");
        int evalDoAfterBody = _jspx_th_c_if_3.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_if_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_3);
    return false;
  }

  private boolean _jspx_meth_c_if_4(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_0, PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_4 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_if_4.setPageContext(pageContext);
    _jspx_th_c_if_4.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_0);
    _jspx_th_c_if_4.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.mate.changeType==4}", java.lang.Boolean.class, (PageContext)pageContext, null, false)).booleanValue());
    int _jspx_eval_c_if_4 = _jspx_th_c_if_4.doStartTag();
    if (_jspx_eval_c_if_4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n\t\t\t\t\t");
        out.write("<option value=\"4\" selected>其他");
        out.write("</option>\r\n\t\t\t\t");
        int evalDoAfterBody = _jspx_th_c_if_4.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_if_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_4);
    return false;
  }

  private boolean _jspx_meth_c_if_5(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_0, PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_5 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_if_5.setPageContext(pageContext);
    _jspx_th_c_if_5.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_0);
    _jspx_th_c_if_5.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.notSubmit==null}", java.lang.Boolean.class, (PageContext)pageContext, null, false)).booleanValue());
    int _jspx_eval_c_if_5 = _jspx_th_c_if_5.doStartTag();
    if (_jspx_eval_c_if_5 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n\t    ");
        out.write("<tr>\r\n\t      ");
        out.write("<td colspan=\"4\" align=\"left\">");
        out.write("<div align=\"center\">\r\n\t");
        out.write("\r\n\t");
        out.write("\r\n\t\t\t\t\t\t");
        out.write("<input type=\"submit\" name=\"Submit\" value=\"删  除\" onclick=\"DeleteSubmit()\" class=\"anniu\"/>\r\n\t      ");
        out.write("</div>");
        out.write("</td>\r\n\t    ");
        out.write("</tr>\r\n    ");
        int evalDoAfterBody = _jspx_th_c_if_5.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_if_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_5);
    return false;
  }

  private boolean _jspx_meth_c_if_6(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_0, PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_6 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_if_6.setPageContext(pageContext);
    _jspx_th_c_if_6.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_0);
    _jspx_th_c_if_6.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.notSubmit!=null}", java.lang.Boolean.class, (PageContext)pageContext, null, false)).booleanValue());
    int _jspx_eval_c_if_6 = _jspx_th_c_if_6.doStartTag();
    if (_jspx_eval_c_if_6 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n\t    ");
        out.write("<tr>\r\n\t      ");
        out.write("<td colspan=\"4\" align=\"left\">");
        out.write("<div align=\"center\">\r\n\t\t\t\t");
        out.write("<input type=\"submit\" name=\"Submit\" value=\"关 闭\" onclick=\"windowClose()\" class=\"anniu\"/>\r\n\t      ");
        out.write("</div>");
        out.write("</td>\r\n\t    ");
        out.write("</tr>\r\n    ");
        int evalDoAfterBody = _jspx_th_c_if_6.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_if_6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_6);
    return false;
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -