You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
761 B

<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@page import="util.Info"%>
<%@page import="dao.CommDAO"%>
<%@page import="util.PageManager"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><3E><><EFBFBD><EFBFBD></title>
</head>
<body>
<%
String yuan=request.getParameter("yuan");
String id=request.getParameter("id");
String tablename=request.getParameter("tablename");
String sql="";
if(yuan.equals("<22><>"))
{
sql="update "+tablename+" set issh='<27><>' where id="+id;
}
else
{
sql="update "+tablename+" set issh='<27><>' where id="+id;
}
new CommDAO().commOper(sql);
out.print("<script>location.href='"+request.getHeader("Referer")+"';</script>");
%>
</body>
</html>