diff --git a/WebContent/Ample/Doc/DocListUploadNew.jsp b/WebContent/Ample/Doc/DocListUploadNew.jsp index a6d69eef8..e8cb04da0 100644 --- a/WebContent/Ample/Doc/DocListUploadNew.jsp +++ b/WebContent/Ample/Doc/DocListUploadNew.jsp @@ -70,17 +70,28 @@ public void fileInfoSave(Map params,Transaction Sqlca) throws JBOException { if(params.size()>0){ BizObjectManager frfBom = JBOFactory.getBizObjectManager("jbo.oti.FC_REQUEST_FILE",Sqlca); + List frfBoList = frfBom.createQuery("DEL_FLAG='0' and FC_REQUEST_ID=:fcRequestId and FC_FLOW_TYPE=:fcFlowType and FC_FILE_CODE=:fcFileCode") + .setParameter("fcRequestId",params.get("fcRequestId")).setParameter("fcFlowType",params.get("fcFlowType")).setParameter("fcFileCode",params.get("fcFileCode")).getResultList(true); + String fcFlowTypeName = frfBoList.get(0).getAttribute("FC_FLOW_TYPE_NAME").toString(); + String fcFileCodeName = frfBoList.get(0).getAttribute("FC_FILE_CODE_NAME").toString(); + for(BizObject bo : frfBoList){ + bo.setAttributeValue("FC_FILE_STS","2"); + bo.setAttributeValue("FC_FILE_STS_DESC","用户添加待补传"); + } BizObject frfBo = frfBom.newObject(); frfBo.setAttributeValue("FC_REQUEST_ID",params.get("fcRequestId")); frfBo.setAttributeValue("FC_FLOW_TYPE",params.get("fcFlowType")); + frfBo.setAttributeValue("FC_FLOW_TYPE_NAME",fcFlowTypeName); frfBo.setAttributeValue("FC_FILE_CODE",params.get("fcFileCode")); + frfBo.setAttributeValue("FC_FILE_CODE_NAME",fcFileCodeName); String fileType = params.get("type"); String fcFileType = fileType.substring(fileType.lastIndexOf("/")+1).toLowerCase(); frfBo.setAttributeValue("FC_FILE_TYPE",fcFileType); frfBo.setAttributeValue("FILE_TYPE",fileType); frfBo.setAttributeValue("FILE_NAME",params.get("name")); frfBo.setAttributeValue("FILE_PATH",params.get("filePath")); - frfBo.setAttributeValue("FC_FILE_STS","0"); + frfBo.setAttributeValue("FC_FILE_STS","2"); + frfBo.setAttributeValue("FC_FILE_STS_DESC","用户添加待补传"); frfBo.setAttributeValue("CREATE_TIME",params.get("inputTime")); frfBo.setAttributeValue("UPDATE_TIME",params.get("inputTime")); frfBo.setAttributeValue("DEL_FLAG","0"); diff --git a/WebContent/WEB-INF/etc/jbo/jbo_oti.xml b/WebContent/WEB-INF/etc/jbo/jbo_oti.xml index 5f0878302..0c7006747 100644 --- a/WebContent/WEB-INF/etc/jbo/jbo_oti.xml +++ b/WebContent/WEB-INF/etc/jbo/jbo_oti.xml @@ -322,6 +322,7 @@ + diff --git a/WebContent/com/tenwa/apzl/CorpusSource/FcRequestFileList.jsp b/WebContent/com/tenwa/apzl/CorpusSource/FcRequestFileList.jsp index 08297a394..a5b453674 100644 --- a/WebContent/com/tenwa/apzl/CorpusSource/FcRequestFileList.jsp +++ b/WebContent/com/tenwa/apzl/CorpusSource/FcRequestFileList.jsp @@ -12,6 +12,7 @@ String isReadOnly = CurPage.getParameter("isReadOnly"); String messageId = CurPage.getParameter("messageId"); String sPrevUrl = CurPage.getParameter("PrevUrl"); + String pageSize = CurPage.getParameter("PageSize"); if(sPrevUrl == null) sPrevUrl = "/com/tenwa/apzl/CorpusSource/FcRequestLIst.jsp"; String sTempletNo=CurPage.getParameter("TempletNo"); if(sTempletNo==null){ @@ -24,6 +25,7 @@ doTemp.setLockCount(0); ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); dwTemp.Style = "1";//freeform + dwTemp.setPageSize(pageSize==null?5:Integer.parseInt(pageSize)); //dwTemp.ReadOnly = "-2";//只读模式 dwTemp.genHTMLObjectWindow(fcFlowType+","+fcRequestId); diff --git a/src_jbo/jbo/oti/FC_REQUEST.java b/src_jbo/jbo/oti/FC_REQUEST.java index 0725a88b6..fb67b5d28 100644 --- a/src_jbo/jbo/oti/FC_REQUEST.java +++ b/src_jbo/jbo/oti/FC_REQUEST.java @@ -85,6 +85,10 @@ public interface FC_REQUEST{ * 通知需要补充资料清单描述 STRING(32)
*/ public static final String SUPPLEMENT_DESC = "SUPPLEMENT_DESC"; + /** + * 资料补充时间 STRING(32)
+ */ + public static final String SUPPLEMENT_TIME = "SUPPLEMENT_TIME"; /** * 创建时间 STRING(32)
*/