<%@ page import="weaver.conn.RecordSet" %>
<%@ page import="com.alibaba.fastjson.JSONObject" %>
<%@ page import="weaver.general.Util" %>
<%@ page import="org.apache.commons.lang3.StringUtils" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%

    JSONObject dataJson = new JSONObject();
    RecordSet rs = new RecordSet();
    String sjid = request.getParameter("sjid");

    String zblj = "";
    String yblj = "";
    String ycmrzs = "";
    String sql = " select zblj,yblj,ycmrzs from uf_zybjpz where id="+sjid;
    rs.executeQuery(sql);
    if (rs.next()){
        zblj = Util.null2String(rs.getString("zblj"));
        yblj = Util.null2String(rs.getString("yblj"));
        ycmrzs = Util.null2String(rs.getString("ycmrzs"));

    }
    if(StringUtils.isBlank(ycmrzs)){
        ycmrzs = "0";
    }

    dataJson.put("zblj",zblj);
    dataJson.put("yblj",yblj);
    dataJson.put("ycmrzs",ycmrzs);

    //  /interface/custom/queryLeftRightUrl.jsp?sjid=1
%>

<%=dataJson.toJSONString() %>

