📄 dms_0002fdocument_0002frecedocedt1_0002ejsp_jsp.java
字号:
package DMS.document;
import java.util.Date.*;
import com.jasson.business.document.*;
import com.jasson.business.system.DocTypeDAO;
import com.jasson.business.system.DocSpeedDAO;
import com.jasson.business.system.DocSecretDAO;
import com.jasson.business.system.DocKindDAO;
import com.jasson.business.system.DocCopyDAO;
import com.jasson.business.system.DocAttributeDAO;
import com.jasson.common.ExtendString;
import com.jasson.common.ExtendCalendar;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class DMS_0002fdocument_0002fReceDocEdt1_0002ejsp_jsp extends HttpJspBase {
static {
}
public DMS_0002fdocument_0002fReceDocEdt1_0002ejsp_jsp( ) {
}
private static boolean _jspx_inited = false;
public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
String _value = null;
try {
if (_jspx_inited == false) {
synchronized (this) {
if (_jspx_inited == false) {
_jspx_init();
_jspx_inited = true;
}
}
}
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html;charset=big5");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
// HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(0,48);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(1,25);to=(2,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(2,38);to=(3,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(3,50);to=(4,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(4,57);to=(5,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(5,58);to=(6,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(6,59);to=(7,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(7,57);to=(8,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(8,57);to=(9,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(9,62);to=(11,0)]
out.write("\r\n\r\n");
// end
// HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(11,50);to=(12,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(12,52);to=(14,0)]
out.write("\r\n\r\n");
// end
// begin [file="/DMS/document/ReceDocEdt1.jsp";from=(14,2);to=(113,0)]
ExtendString ExStr=new ExtendString();
ExtendCalendar ExCal=new ExtendCalendar();
int y1=ExCal.getYear(ExCal.getDate());
int m1=ExCal.getMonth(ExCal.getDate());
int d1=ExCal.getDay(ExCal.getDate());
String act="2";
if(request.getAttribute("act")!=null)
{
act=request.getAttribute("act").toString();
}
String strFileNO ="";
if(request.getAttribute("FileNO")!=null)
{
strFileNO =request.getAttribute("FileNO").toString();
}
String strReceDate = "";
if(request.getAttribute("ReceDate")!=null)
{
strReceDate=request.getAttribute("ReceDate").toString();
}
String strIssueDate = "";
if(request.getAttribute("IssueDate")!=null)
{
strReceDate=request.getAttribute("IssueDate").toString();
}
String strIssueWord ="";
String strIssueNO = "";
String strIssueOrgName = "";
String strKindName="";
String strAttributeName="";
String strSecretName="";
String strSpeedName="";
String strTypeName="";
String strCopyName="";
String strDesecretDate="";
String strDesecretCondition="";
String strTermTypeName="";
String strTermDate="";
String strSubject="";
String strMainDoc="";
String strAttachDesc="";
String strUndertakeDeptName="";
String strUndertakeDeptID="";
String strUndertakeUserName="";
String strUndertakeUserID="";
int iIssueOrgID=-1, iKindID=-1, iAttributeID=-1, iSecretID=-1, iSpeedID=-1, iTypeID=-1, iCopyID=-1;
int iTermTypeID=-1, iAttachCount=0;
ReceDocDAO receDoc = (ReceDocDAO)session.getAttribute("ReceDoc");
session.removeAttribute("ReceDoc");
if(receDoc != null)
{
strFileNO = receDoc.getFileNO();
if(receDoc.getReceDate()!=null)
{
strReceDate = receDoc.getReceDate().toString();
}
if(receDoc.getIssueDate()!=null)
{
strIssueDate = receDoc.getIssueDate().toString();
}
strIssueWord = ExStr.nullToSpace(receDoc.getIssueWord());
strIssueNO = ExStr.nullToSpace(receDoc.getIssueNO());
iIssueOrgID = receDoc.getIssueOrgID();
strIssueOrgName = ExStr.nullToSpace(receDoc.getIssueOrgName());
iKindID = receDoc.getKindID();
strKindName = ExStr.nullToSpace(receDoc.getKindName());
iAttributeID = receDoc.getAttributeID();
strAttributeName = ExStr.nullToSpace(receDoc.getAttributeName());
iSecretID = receDoc.getSecretID();
strSecretName = ExStr.nullToSpace(receDoc.getSecretName());
iSpeedID = receDoc.getSpeedID();
strSpeedName = ExStr.nullToSpace(receDoc.getSpeedName());
iTypeID = receDoc.getTypeID();
strTypeName = ExStr.nullToSpace(receDoc.getTypeName());
iCopyID = receDoc.getCopyID();
strCopyName = ExStr.nullToSpace(receDoc.getCopyName());
if(receDoc.getPreDesecretDate() != null)
{
strDesecretDate = receDoc.getPreDesecretDate().toString();
}
strDesecretCondition = ExStr.nullToSpace(receDoc.getDesecretCondition());
if(receDoc.getTermDate()!=null)
{
strTermDate = receDoc.getTermDate().toString();
}
iTermTypeID = receDoc.getTermType();
strSubject = ExStr.nullToSpace(receDoc.getSubject());
iAttachCount = receDoc.getAttachCount();
strUndertakeDeptName = receDoc.getUndertakeDeptName() ;
strUndertakeUserName = receDoc.getUndertakeUserName() ;
strUndertakeDeptID = receDoc.getUndertakeDeptID();
strUndertakeUserID = receDoc.getUndertakeUserID();
}
// end
// HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(113,2);to=(128,24)]
out.write("\r\n<html>\r\n<head>\r\n<title>收文補登</title>\r\n<LINK href=\"../inc/DatePicker.css\" rel=stylesheet type=text/css>\r\n<LINK href=\"../inc/DateTimePicker.css\" rel=stylesheet type=text/css>\r\n<SCRIPT src=\"../inc//DateObject.js\"></SCRIPT>\r\n<SCRIPT src=\"../inc/DatePicker.js\"></SCRIPT>\r\n<SCRIPT src=\"../inc/editlib.js\"></SCRIPT>\r\n\r\n</head>\r\n<body onload=load()>\r\n<script>\r\nfunction load()\r\n{\r\n form1.FileNO.value=\"");
// end
// begin [file="/DMS/document/ReceDocEdt1.jsp";from=(128,27);to=(128,38)]
out.print( strFileNO );
// end
// HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(128,40);to=(129,0)]
out.write("\";\r\n");
// end
// begin [file="/DMS/document/ReceDocEdt1.jsp";from=(129,2);to=(138,0)]
int yy1;
int mm1;
int dd1;
if(!strReceDate.equals(""))
{
yy1=ExCal.getYear(strReceDate);
mm1=ExCal.getMonth(strReceDate);
dd1=ExCal.getDay(strReceDate);
// end
// HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(138,2);to=(139,23)]
out.write("\r\n\t\tReceDate.setCurDate(\"");
// end
// begin [file="/DMS/document/ReceDocEdt1.jsp";from=(139,26);to=(139,29)]
out.print(yy1);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -