<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> <%@page import="util.Info"%> <%@page import="dao.CommDAO"%> <%@page import="util.PageManager"%> ΙσΊΛ <% String yuan=request.getParameter("yuan"); String id=request.getParameter("id"); String xuefei=request.getParameter("xuefei"); String xueyuan=request.getParameter("xueyuan"); String tablename=request.getParameter("tablename"); String sql=""; String sql2=""; if(yuan.equals("ΚΗ")) { sql="update "+tablename+" set iszf='·ρ' where id="+id; sql2="update yonghuzhuce set yue=yue+'"+xuefei+"' where yonghuming='"+xueyuan+"'"; } else { sql="update "+tablename+" set iszf='ΚΗ' where id="+id; sql2="update yonghuzhuce set yue=yue-'"+xuefei+"' where yonghuming='"+xueyuan+"'"; } new CommDAO().commOper(sql); new CommDAO().commOper(sql2); out.print(""); %>