%@ page contentType="text/html; charset=GBK"%> <%@ include file="/IncludeBegin.jsp"%><% String sMyCurrentJob[][] = new String[100][5]; int iJobs=0; String sSql ="select SerialNo,WorkType,WorkBrief,WorkContent,PlanFinishDate,PromptBeginDate,ActualFinishDate from O " +"where (ActualFinishDate is null or ActualFinishDate=' ') and InputUserID = :UserID "; List list = JBOFactory.createBizObjectQuery("jbo.com.tenwa.entity.comm.workrecord.WORK_RECORD", sSql).setParameter("UserID", CurUser.getUserID()).getResultList(false); for(BizObject bo : list){ sMyCurrentJob[iJobs][0] = bo.getAttribute("SerialNo").getString(); sMyCurrentJob[iJobs][1] = NameManager.getItemName("WorkType", bo.getAttribute("WorkType").getString()); sMyCurrentJob[iJobs][2] = SpecialTools.real2Amarsoft(bo.getAttribute("WorkBrief").getString()); sMyCurrentJob[iJobs][3] = SpecialTools.real2Amarsoft(bo.getAttribute("WorkContent").getString()); sMyCurrentJob[iJobs][4] = bo.getAttribute("PlanFinishDate").getString(); if(sMyCurrentJob[iJobs][4]==null) sMyCurrentJob[iJobs][4]=""; iJobs++; } %> 日历选择器 <% int iYear = Calendar.getInstance().get(Calendar.YEAR); for(int i=iYear-10;i<=iYear+10;i++){ %> <%=i%> <% } %> 一月 二月 三月 四月 五月 六月 七月 八月 九月 十月 十一月 十二月 <%@ include file="/IncludeEnd.jsp"%>