<%@page import="com.amarsoft.awe.res.AppBizObject"%> <%@page import="com.amarsoft.are.jbo.JBOFactory"%> <%@page import="com.amarsoft.are.jbo.BizObjectManager"%> <%@page import="com.amarsoft.are.jbo.BizObjectQuery"%> <%@page import="com.amarsoft.are.jbo.BizObject"%> <%@ page contentType="text/html; charset=GBK"%><%@ include file="/IncludeBeginMDAJAX.jsp"%><% String staskNo=CurPage.getParameter("TaskNo"); System.out.println(staskNo); if(staskNo==null){staskNo="";} BizObject bos = JBOFactory .getBizObjectManager("jbo.sys.FLOW_TASK") .createQuery("SELECT O.phasename,O.flowno,O.flowname,fb.proj_name FROM O ,jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT fb WHERE O.objectno=fb.flow_unid AND O.SERIALNO=:taskNo ") .setParameter("taskNo",staskNo).getSingleResult(false); String sObjectTitle = ""; if("".equals(bos.getAttribute("proj_name").toString()) ||"DistributorApprovalFlow".equals(bos.getAttribute("flowno").toString())){ sObjectTitle = bos.getAttribute("flowname").toString()+"¡¾"+bos.getAttribute("phasename").toString()+"¡¿"; }else{ sObjectTitle = bos.getAttribute("flowname").toString()+"¡¾"+bos.getAttribute("phasename").toString()+"¡¿-"+bos.getAttribute("proj_name").toString(); } out.print("{\"title\":\""+sObjectTitle+"\"}"); %><%@ include file="/IncludeEndAJAX.jsp"%>