24 lines
776 B
Plaintext
24 lines
776 B
Plaintext
<%@ 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"%> |