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.
89 lines
4.5 KiB
89 lines
4.5 KiB
|
|
<% /** |
|
* **********************************************************@@ Program Name |
|
* : doc_list.jsp Description : /집계 문서에 대한 보고자 정보 Author : 기현테크 Create Date |
|
* : 2010.11.27 History : |
|
* @@*********************************************************** |
|
*/ |
|
%> |
|
|
|
<%@ page contentType="text/html; charset=euc-kr" |
|
import="java.text.SimpleDateFormat" |
|
import="javax.jdo.PersistenceManager" import="javax.jdo.Transaction" |
|
import="kr.co.kihyun.beans.entity.util.*" |
|
import="kr.co.kihyun.beans.entity.*" import="kr.co.kihyun.moumi.Moumi" |
|
import="kr.co.kihyun.lang.MLong" 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 { |
|
tx.begin(); |
|
|
|
/** |
|
* **** Parameter ***** |
|
*/ |
|
Long reportID = MLong.parseLong(request.getParameter("reportID"), null); |
|
TotReport totReport = pm.getObjectById(TotReport.class, reportID); |
|
%> |
|
<tr> |
|
<td style="width: 14px"><img src="/totsys/common/images/ico_1.gif"></td> |
|
<td class="kecttep_title" style="padding-left: 5px" align="left" width="100%"> |
|
<%=Moumi.getMessageBundle().getString("moumi.message.tot_report.submit")%><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.person")%><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.info")%> |
|
</td> |
|
<td> </td> |
|
<td> </td> |
|
</tr> |
|
<tr> |
|
<td height="3"></td> |
|
</tr> |
|
<tr> |
|
<td colspan="4"> |
|
<table border="1px" class="kecttep_list_table" width="100%" cellpadding="0" cellspacing="0"> |
|
<tr> |
|
<td width="149" class="kecttep_tdmenu" style="padding-left: 20px;"> |
|
<%=Moumi.getMessageBundle().getString("moumi.message.tot_report.submit")%><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.person")%><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.name")%></td> |
|
<td width="326" style="padding-left: 15px; padding-top: 4px;" class="kecttep_last_graytd" colspan="3"> |
|
<%= MString.checkNull(totReport.getOwnerName(pm))%> |
|
</td> |
|
</tr> |
|
<tr> |
|
<td width="149" class="kecttep_tdmenu" style="padding-left: 20px;"> |
|
<%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.coporation")%>/<%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.devision")%><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.name")%> |
|
</td> |
|
<td width="326" style="padding-left: 15px; padding-top: 4px;" class="kecttep_last_graytd"> |
|
<%= totReport.getUser(pm).getUpperDept(pm).getName()%> |
|
</td> |
|
<td width="149" class="kecttep_tdmenu" style="padding-left: 20px;"> |
|
<%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.telNumber")%> |
|
</td> |
|
<td width="326" style="padding-left: 15px; padding-top: 4px;" class="kecttep_last_graytd"> |
|
<%= MString.checkNull(totReport.getOwnerPhone())%> |
|
</td> |
|
</tr> |
|
<tr> |
|
<td width="149" class="kecttep_tdmenu" style="padding-left: 20px;">E-MAIL</td> |
|
<td width="326" style="padding-left: 15px; padding-top: 4px;" class="kecttep_last_graytd"> |
|
<%= MString.checkNull(totReport.getOwnerEmail())%> |
|
</td> |
|
<td width="149" class="kecttep_tdmenu" style="padding-left: 20px;"> |
|
<%=Moumi.getMessageBundle().getString("moumi.message.tot_report.submit")%><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.dateTime")%> |
|
</td> |
|
<td width="326" style="padding-left: 15px; padding-top: 4px;" class="kecttep_last_graytd"> |
|
<%=totReport.getSubmitDate() == null ? "" : new SimpleDateFormat("yy/MM/dd HH:mm:ss").format(totReport.getSubmitDate())%> |
|
</td> |
|
</tr> |
|
</table> |
|
</td> |
|
</tr> |
|
<% |
|
tx.rollback(); |
|
} 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(); |
|
} |
|
%>
|
|
|