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.
102 lines
3.8 KiB
102 lines
3.8 KiB
|
|
<% |
|
/************************************************************@@ |
|
* Program Name : reMemoContents.jsp |
|
* Description : 재보고 / 재 배정 내용 |
|
* Author : |
|
* Create Date : |
|
* History : |
|
@@************************************************************/ |
|
%> |
|
|
|
<%@ page contentType="text/html; charset=UTF-8" |
|
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> |
|
<tbody> |
|
<tr> |
|
<td style="height: 31px; vertical-align: top;"> |
|
<table class="kecttep_list_table"> |
|
<tr style="vertical-align: middle;"> |
|
<td style="width: 80px; text-align: center;" class="kecttep_tdmenu" rowspan="2"> |
|
<%= Moumi.getMessageBundle().getString("moumi.message.repoperdoc.recog")%>순서 |
|
</td> |
|
<td style="width: 310px; text-align: center;" class="kecttep_col_tdmenu" colspan="2"> |
|
<%= Moumi.getMessageBundle().getString("moumi.message.repoperdoc.recog")%>요청자 정보 |
|
</td> |
|
<td style="width: 70px; text-align: center;" class="kecttep_tdmenu" rowspan="2"> |
|
<%= Moumi.getMessageBundle().getString("moumi.message.repoperdoc.recog")%>일 |
|
</td> |
|
<td style="width: 70px; text-align: center;" class="kecttep_last_tdmenu" rowspan="2"> |
|
상태 |
|
</td> |
|
</tr> |
|
<tr style="vertical-align: middle"> |
|
<td style="width: 110px; text-align: center;" class="kecttep_sub_tdmenu"> |
|
기관/부서 |
|
</td> |
|
<td style="width: 60px; text-align: center;" class="kecttep_sub_tdmenu"> |
|
성명 |
|
</td> |
|
</tr> |
|
<% |
|
tx.begin(); |
|
for(int i=0; i<totReport.getRepoadms().size(); i++){%> |
|
<tr style="padding-top: 3px; vertical-align: middle;" |
|
onmouseover="this.style.backgroundColor='F9F9F9'" |
|
onmouseout="this.style.backgroundColor='white'"> |
|
<td style="width: 80px; height: 25px; text-align: center;" class="kecttep_graytd"> |
|
<%= totReport.getRepoadms().get(i).getRecogNum() %> |
|
</td> |
|
<td style="width: 110px; text-align: center;" class="kecttep_graytd"> |
|
<%= totReport.getRepoadms().get(i).getRecogUser(pm).getUpperDept(pm).getName() %> |
|
</td> |
|
<td style="width: 140px; text-align: center;" class="kecttep_graytd"> |
|
<%= totReport.getRepoadms().get(i).getRecogUser(pm).getName() %> |
|
</td> |
|
<td style="width: 70px; text-align: center;" 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> |
|
<td style="width: 70px; text-align: center;" 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(); |
|
} |
|
%>
|
|
|