📄 modify_training.jsp
字号:
<%@ page errorPage="/vnex/ErrorPage.jsp" %>
<%@ page import="com.vnex.intranet.util.*" %>
<jsp:useBean id="trainingProxy" class="com.vnex.intranet.hr.process.HRTrainingProcessBean" scope="page" />
<jsp:useBean id="transferHRTrainingValueBean" class="com.vnex.intranet.hr.value.HRTrainingValueBean" scope="page" />
<jsp:setProperty name="transferHRTrainingValueBean" property="*"/>
<%
String startDate = request.getParameter("startDate");
String endDate = request.getParameter("endDate");
startDate += " 00:00:00";
endDate += " 00:00:00";
System.out.println("startDate="+startDate+", endDate="+endDate);
transferHRTrainingValueBean.setTrain_startdate(TimeStamp.toTimestamp(startDate));
transferHRTrainingValueBean.setTrain_enddate(TimeStamp.toTimestamp(endDate));
trainingProxy.modifyTraining(transferHRTrainingValueBean);
%>
<html>
<head>
<script language=javascript>
function forward()
{
document.location = "/mainctrl/training/detail?trainId=<%=request.getParameter("trainId")%>";
}
</script>
</head>
<body onload="javascript:forward()">
</body>
<html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -