业务申请,修改附件一览页面

This commit is contained in:
user 2018-07-19 12:04:51 +08:00
parent ebe21e5329
commit 497e0b7b1d
2 changed files with 7 additions and 2 deletions

View File

@ -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);

View File

@ -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";
}