apzl_leasing/WebContent/Common/WorkFlow/CancelTaskActionAjax.jsp
2018-06-03 22:26:41 +08:00

24 lines
776 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ page contentType="text/html; charset=GBK"%><%@ include file="/IncludeBeginMDAJAX.jsp"%><%@
page import="com.amarsoft.biz.workflow.*" %><%
/*
* Content: 取消流程任务
* Input Param:
* SerialNo 当前任务的流水号
* Output param:
* sReturnValue: 返回值Commit表示完成操作
*/
String sSerialNo = CurPage.getParameter("SerialNo");
String sReturnMessage = "";//执行后返回的信息
String sReturnValue="";
FlowTask ftBusiness = new FlowTask(sSerialNo,Sqlca);//初始化任务对象
//ftBusiness.cancel(CurUser);//执行退回操作
sReturnMessage = ftBusiness.backStep().ReturnMessage;
if("退回完成".equals(sReturnMessage)){
sReturnValue = "Commit";
}else{
sReturnValue=sReturnMessage;
}
out.println(sReturnValue);
%><%@ include file="/IncludeEndAJAX.jsp"%>