You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
<%@ page import="com.alibaba.fastjson.JSONObject" %>
|
|
<%@ page import="com.wbi.util.ParamUtil" %>
|
|
<%@ page import="weaver.conn.RecordSet" %>
|
|
<%@ page import="weaver.workflow.workflow.WorkflowComInfo" %>
|
|
<%@ page import="weaver.workflow.workflow.WorkflowBillComInfo" %>
|
|
<%@ page import="com.api.formmode.page.util.Util" %>
|
|
<%@ page import="weaver.workflow.workflow.WorkflowVersion" %>
|
|
<%@ page import="java.util.*" %>
|
|
<%@ page import="com.icbc.api.internal.apache.http.E" %>
|
|
<%@page contentType="text/html; charset=UTF-8" %>
|
|
|
|
<%
|
|
HashMap<String, Object> result = new HashMap<>();
|
|
try {
|
|
|
|
String parameter = request.getParameter("nodeid");
|
|
List<String> relationNodeListByNodeID = WorkflowVersion.getRelationNodeListByNodeID(parameter);
|
|
RecordSet rs = new RecordSet();
|
|
rs.executeQuery("select count(id) cnt from uf_xsxgbdanjd where nodeid in ( "+ String.join(",",relationNodeListByNodeID) +" )");
|
|
rs.next();
|
|
int cnt = rs.getInt("cnt");
|
|
if (cnt > 0){
|
|
result.put("code","200");
|
|
result.put("isShow",true);
|
|
|
|
}else {
|
|
result.put("code","200");
|
|
result.put("isShow",false);
|
|
|
|
}
|
|
}catch (Exception e){
|
|
result.put("code","500");
|
|
result.put("isShow",false);
|
|
result.put("msg",e.getMessage());
|
|
}
|
|
out.print(JSONObject.toJSONString(result));
|
|
%>
|
|
|
|
|
|
<%!
|
|
|
|
%> |