18 lines
621 B
Plaintext
18 lines
621 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 result = "0";
|
|
String userid = Util.null2String(request.getParameter("userid"));
|
|
rs.executeQuery("select sum(cast(kcjf as NUMERIC))as count from formtable_main_264 where sqrxm=?",userid);
|
|
while(rs.next()){
|
|
result = Util.null2o(rs.getString("count"));
|
|
}
|
|
json.put("result",result);
|
|
out.print(JSONObject.toJSONString(json));
|
|
%>
|
|
|
|
|