diff --git a/WebContent/Tenwa/Comm/DocList/PayDocList.jsp b/WebContent/Tenwa/Comm/DocList/PayDocList.jsp index a05f4a991..4e7dd54fa 100644 --- a/WebContent/Tenwa/Comm/DocList/PayDocList.jsp +++ b/WebContent/Tenwa/Comm/DocList/PayDocList.jsp @@ -46,6 +46,10 @@ docParam.put("proj_id", flow.getAttribute("proj_id").getString()); docParam.put("contract_id", flow.getAttribute("contract_id").getString()); docParam.put("flow_unid", flowunid); + docParam.put("inputtime", StringFunction.getTodayNow()); + docParam.put("inputuserid", CurPage.getUserId()); + docParam.put("inputorgid", CurPage.getUser().getOrgID()); + //判断是否存在,不存在就从配置表倒到临时表 DocListInitAction.initDocList(docParam,other,docClassItemno,CurConfig); ASObjectModel doTemp = new ASObjectModel(sTempletNo); diff --git a/WebContent/Tenwa/Comm/Document/LBDocumentListInfo.jsp b/WebContent/Tenwa/Comm/Document/LBDocumentListInfo.jsp index 55fb10056..cebf3c50b 100644 --- a/WebContent/Tenwa/Comm/Document/LBDocumentListInfo.jsp +++ b/WebContent/Tenwa/Comm/Document/LBDocumentListInfo.jsp @@ -24,10 +24,11 @@ if(type==""){ BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid);//流程对象 otherWhere=DocListInitAction.getFlowWhere(flow,"","O"); + //otherWhere=" and O.proj_id='"+proj_id+"' order by O.INPUTTIME DESC"; }else if("proj".equals(type)){ - otherWhere=" and O.proj_id='"+proj_id+"'"; + otherWhere=" and O.proj_id='"+proj_id+"' order by O.INPUTTIME DESC"; }else if("contract".equals(type)){ - otherWhere=" and (O.contract_id='"+contract_id+"' OR O.proj_id='"+proj_id+"')"; + otherWhere=" and (O.contract_id='"+contract_id+"' OR O.proj_id='"+proj_id+"') order by O.INPUTTIME DESC"; }