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>ÉóºË</title>
</head>
<body>
<%
String yuan=request.getParameter("yuan");
String id=request.getParameter("id");
String tablename=request.getParameter("tablename");
String sql="";
if(yuan.equals("ÊÇ"))
{
sql="update "+tablename+" set issh='·ñ' where id="+id;
}
else
{
sql="update "+tablename+" set issh='ÊÇ' where id="+id;
}
new CommDAO().commOper(sql);
out.print("<script>location.href='"+request.getHeader("Referer")+"';</script>");
%>
</body>
</html>