<%@ page contentType="text/html; charset=UTF-8"
	import="java.net.URLEncoder"
    import="java.util.Date"
	import="java.util.List"
    import="java.text.SimpleDateFormat"
	import="javax.jdo.PersistenceManager"
    import="javax.jdo.Transaction"
	import="kr.co.kihyun.beans.entity.*"
	import="kr.co.kihyun.beans.entity.util.*"
	import="kr.co.kihyun.beans.user.HttpSSOLogin"
	import="kr.co.kihyun.lang.Encoder"
    import="kr.co.kihyun.util.MDate"
	import="kr.co.kihyun.lang.MInteger"
    import="kr.co.kihyun.lang.MString"
	import="kr.co.kihyun.moumi.Moumi"
	import="kr.co.kihyun.moumi.report.MReport"
	import="kr.co.kihyun.moumi.doc.MDoc"
	import="kr.co.kihyun.beans.totsys.doc.Doc"
	import="kr.co.kihyun.beans.user.UserView"
	import="kr.co.kihyun.beans.user.DeptView"
    import="kr.co.kihyun.beans.user.DeptAdd"
    import="kr.co.kihyun.lang.MLong"
    import="kr.co.kihyun.moumi.MoumiConfig"
	import="kr.co.kihyun.db.DBUtil"
    import="kr.co.kihyun.beans.user.MultiCheck"
    import="java.net.URLEncoder"
    import="kr.co.kihyun.lang.StringConverter"
    import="kr.co.kihyun.lang.Encoder" %>
<%@ include file="/totsys/common/inc/sec/secure.inc.jsp"%>
<%
  PersistenceManager pm = new MPersistenceManager(PMF.get().getPersistenceManager());
  Transaction tx = pm.currentTransaction();
  request.setCharacterEncoding("UTF-8");
  MultiCheck mc = new MultiCheck();

  String id = request.getParameter("id");
  String DeptId = request.getParameter("deptId");
  mc.deptUpdate(id, DeptId);
  out.print("<script language='javascript'>alert('선택되었습니다.');opener.login.submit();window.close();</script>");
%>

