19 lines
604 B
Plaintext
19 lines
604 B
Plaintext
<%@ page contentType="text/html; charset=UTF-8" %>
|
|
<%@ page import="com.alibaba.fastjson.JSONObject" %>
|
|
<%@ page import="weaver.general.*" %>
|
|
<jsp:useBean id="rs" class="weaver.conn.RecordSet" scope="page" />
|
|
<%
|
|
JSONObject json = new JSONObject();
|
|
String flag = "0";
|
|
String bm = Util.null2String(request.getParameter("bm"));
|
|
String gw = Util.null2String(request.getParameter("gw"));
|
|
rs.executeQuery("select id from uf_bmgwdzjmb where bm = ? and gw = ?",bm,gw);
|
|
if(rs.next()){
|
|
flag = "1";
|
|
}
|
|
json.put("flag",flag);
|
|
out.print(JSONObject.toJSONString(json));
|
|
%>
|
|
|
|
|