2018-06-03 22:26:41 +08:00

46 lines
1.0 KiB
Plaintext
Raw 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="/IncludeBeginMD.jsp"%>
<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=Info00;Describe=注释区;]~*/%>
<%
/*
Author: FMWu 2004-12-17
Tester:
Describe: 检查意见是否签署,一般在任务提交前检查
Input Param:
SerialNo:任务流水号
Output Param:
HistoryLog:zywei 2005/08/01
*/
%>
<%/*~END~*/%>
<%
//获取参数:任务流水号
String sSerialNo = CurPage.getParameter("SerialNo");
//将空值转化成空字符串
if(sSerialNo == null) sSerialNo = "";
//定义变量SQL语句、意见详情
String sSql = "",sPhaseOpinion = "";
//根据任务流水号从流程意见记录表中查询签署的意见
sSql = "select PhaseOpinion from FLOW_OPINION where SerialNo='"+sSerialNo+"' ";
sPhaseOpinion = Sqlca.getString(sSql);
//将空值转化成空字符串
if (sPhaseOpinion == null) sPhaseOpinion = "";
else sPhaseOpinion = "已经签署意见";//防止有回车传输出错
%>
<script language=javascript>
self.returnValue="<%=sPhaseOpinion%>";
self.close();
</script>
<%@ include file="/IncludeEnd.jsp"%>