<%@ 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 result = new HashMap<>(); try { String parameter = request.getParameter("nodeid"); List 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)); %> <%! %>