<%@ page import="net.sf.json.JSONObject"%>
<%@page import="weaver.conn.RecordSet"%>
<%@ page import="org.apache.commons.lang3.StringUtils" %>
<jsp:useBean id="bb" class="weaver.general.BaseBean" scope="page" />
<%@ page language="java" contentType="text/html; charset=UTF-8" %>

<%
    JSONObject jsonobject = new JSONObject();
    String code = "" ;
    try{
        RecordSet rs = new RecordSet();
        String billids = request.getParameter("billids");
        if(StringUtils.isNotBlank(billids)){
            String sql = " update uf_ks_tmb set zt=0 where id in("+billids+")" ;
            boolean isTrue = rs.executeUpdate(sql);
            if(isTrue){
                code = "200";
            }else{
                code = "-200";
            }
        }else{
            code = "-100";
        }
    }catch (Exception e){
        code = "-300";
    }
    jsonobject.put("code",code);
%>
<%=jsonobject.toString()  %>



