<%@page import="com.tenwa.comm.util.date.DateAssistant"%> <%@ page contentType="text/html; charset=GBK"%> <%@ page import="jbo.sys.FLOW_TASK"%> <%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% String Id = CurPage.getParameter("ID"); if(Id == null)Id = ""; String curUserId = CurUser.getUserID(); BizObjectManager ftManager = JBOFactory.getBizObjectManager(FLOW_TASK.CLASS_NAME); List fts = ftManager.createQuery("select * from o left join jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT fbo on o.objectno=fbo.flow_unid where fbo.contract_id=:contractid and o.flowno='FundPaymentFlow' and o.phasetype='1040' order by endtime desc").setParameter("contractid",Id).getResultList(false); String flowUnid = ""; if(fts.size()>0){ flowUnid = fts.get(0).getAttribute("objectno").getString(); } ASObjectModel doTemp = new ASObjectModel("LBFileArchivingInfo"); doTemp.setDefaultValue("ARCHIVING_PERSON", curUserId); doTemp.setDefaultValue("ARCHIVING_TIME", DateAssistant.getToday()); doTemp.setDefaultValue("CONTRACT_ID", Id); ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); dwTemp.Style = "2"; dwTemp.genHTMLObjectWindow(Id); String compClientID = request.getParameter("CompClientID"); dwTemp.replaceColumn("doclist", "", CurPage.getObjectWindowOutput()); String sButtons[][] =new String[][] { {"true","","Button","返回","返回","goBack()","","","","btn_icon_return"}, {"true","","Button","归档并返回","归档并返回","fileArchiving()","","","","btn_icon_edit"} }; %><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> <%@ include file="/Frame/resources/include/include_end.jspf"%>