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.
 
 
 
 
 
 

86 lines
3.6 KiB

<%
/************************************************************@@
* Program Name : reMemoContents.jsp
* Description : 재보고 / 재 배정 내용
* Author :
* Create Date :
* History :
@@************************************************************/
%>
<%@ page contentType="text/html; charset=euc-kr"
import="kr.co.kihyun.lang.StringConverter"
import="kr.co.kihyun.lang.MLong" import="javax.jdo.PersistenceManager"
import="javax.jdo.Transaction"
import="kr.co.kihyun.beans.entity.util.*"
import="kr.co.kihyun.beans.entity.Repoadm"
import="kr.co.kihyun.beans.entity.TotReport"
import="kr.co.kihyun.lang.MString"%>
<%@ include file="/totsys/common/inc/sec/secure.inc.jsp"%>
<%
PersistenceManager pm = new MPersistenceManager(PMF.get().getPersistenceManager());
Transaction tx = pm.currentTransaction();
try{
/****** Parameter ******/
Long reportID = MLong.parseLong(request.getParameter("reportID"));
TotReport totReport = pm.getObjectById(TotReport.class, reportID);
%>
<%@page import="kr.co.kihyun.beans.entity.Recog"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="kr.co.kihyun.moumi.Moumi"%><TR>
<TD colspan=4>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<tr>
<td height="31" valign="top">
<table border="1px" class="kecttep_list_table" bordercolor="#e3e3e3"
width="100%" cellpadding="0" cellspacing="0">
<tr valign="middle">
<td width="80" align="center" nowrap class="kecttep_tdmenu"
rowspan="2"><%= Moumi.getMessageBundle().getString("moumi.message.repoperdoc.recog")%>순서</td>
<td width="310" align="center" nowrap class="kecttep_col_tdmenu"
colspan="2"><%= Moumi.getMessageBundle().getString("moumi.message.repoperdoc.recog")%>요청자
정보</td>
<td width="70" align="center" class="kecttep_tdmenu" rowspan="2"><%= Moumi.getMessageBundle().getString("moumi.message.repoperdoc.recog")%>일</td>
<td width="70" align="center" nowrap class="kecttep_last_tdmenu"
rowspan="2">상태</td>
</tr>
<tr valign="middle">
<td width="110" align="center" nowrap class="kecttep_sub_tdmenu">기관/부서</td>
<td width="60" align="center" nowrap class="kecttep_sub_tdmenu">성명</td>
</tr>
<%
tx.begin();
for(int i=0; i<totReport.getRepoadms().size(); i++){%>
<tr style="padding-top: 3" valign="middle"
onmouseover="this.style.backgroundColor='F9F9F9'"
onmouseout="this.style.backgroundColor='white'" bgColor=#ffffff>
<td width="80" nowrap height="25" align="center" nowrap
class="kecttep_graytd"><%= totReport.getRepoadms().get(i).getRecogNum() %>&nbsp;</td>
<td width="110" align="center" nowrap class="kecttep_graytd"><%= totReport.getRepoadms().get(i).getRecogUser(pm).getUpperDept(pm).getName() %></td>
<td width="140" align="center" nowrap class="kecttep_graytd"><%= totReport.getRepoadms().get(i).getRecogUser(pm).getName() %></td>
<td width="70" align="center" nowrap class="kecttep_graytd"><%= new SimpleDateFormat("yyyy-MM-dd").format(totReport.getRepoadms().get(i).getDecDate()) %><br><%= new SimpleDateFormat("HH:mm:ss").format(totReport.getRepoadms().get(i).getDecDate()) %>
<td width="70" align="center" nowrap class="kecttep_last_graytd"><%= Recog.asRecogType(totReport.getRepoadms().get(i).getRecog().ordinal())%></td>
</tr>
<%}
tx.rollback();
%>
</table>
</td>
</tr>
</TBODY>
</TABLE>
</TD>
</TR>
<%}catch(Exception ex){ex.printStackTrace();
out.println(kr.co.kihyun.text.html.ServletUtil.getJavaScript("location='/servlet/kr.co.kihyun.beans.user.HttpSSOLogin?mode=logout';"));
}finally{
if(tx.isActive())
tx.rollback();
pm.close();
}
%>