%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_simplelist.jspf"%>
<%@ page import="com.tenwa.doc.action.DocListInitAction" %>
<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %>
<%@ page import="com.amarsoft.app.util.ProductParamUtil" %>
<%@ page import="jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT" %>
<%
/*
Author: undefined 2016-09-01
Content:
History Log:
*/
String objectno = CurPage.getParameter("FlowUnid");
String flowunid="";
String contractId = CurPage.getParameter("ContractId");
String projectId = CurPage.getParameter("ProjectId");
System.out.println("contractId=" + contractId);
//将空值转化为空字符串
BizObjectManager fbo = JBOFactory.getBizObjectManager(FLOW_BUSSINESS_OBJECT.CLASS_NAME);
String sSql = " select ldl.flow_unid " +
" from LB_DOCLIBRARY ld " +
" LEFT JOIN LB_DOCRELATIVE ldl on ld.relative_id=ldl.id " +
" where ldl.proj_id='"+ projectId +"' and ldl.objecttype='FundPaymentCarFlow' and ldl.flow_unid <> '"+objectno+"' " +
" GROUP BY ldl.flow_unid ";
ASResultSet rs = null;
rs = Sqlca.getASResultSet(sSql);
while (rs.next()) {
flowunid = DataConvert.toString(rs.getString("flow_unid"));
}
rs.getStatement().close();
String flowstate=CurPage.getParameter("flowstate");
String CustomerType=CurPage.getParameter("CustomerType");
String carAttributes=CurPage.getParameter("carAttributes");//获取车类型
if(flowunid==""||flowunid==null){
flowunid="flowunid";
}
BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid);//流程对象
String sObjectType = "FlowPayDocListDelete";//付款申请
String ishistory=CurPage.getParameter("IsHistory");
String nodeNo=CurPage.getParameter("NodeNo");
String RightType= "ReadOnly";
String username=CurUser.getUserName();
String phaseNo = CurPage.getParameter("PhaseNo");
String apply = CurPage.getParameter("ApplyType");
String type= "fundPay";
if(type==null)type="";
List