-
大小: 5.13MB文件類型: .zip金幣: 1下載: 0 次發(fā)布日期: 2023-11-01
- 語(yǔ)言: Java
- 標(biāo)簽:
資源簡(jiǎn)介
根據(jù)前幾個(gè)階段的分析和設(shè)計(jì),該系統(tǒng)決定采用B/S結(jié)構(gòu),JSP作為開(kāi)發(fā)語(yǔ)言,數(shù)據(jù)庫(kù)采用Microsoft SQL Server 2000,完成了系
統(tǒng)的程序?qū)嵤1鞠到y(tǒng)的設(shè)計(jì)實(shí)施為企業(yè)員工績(jī)效管理系統(tǒng)的運(yùn)行做基礎(chǔ),同時(shí)為員工績(jī)效管理系統(tǒng)的開(kāi)發(fā)提供一個(gè)參考模式,為企業(yè)的員工績(jī)效的管理提供良好的條件
代碼片段和文件信息
package?com.action;
import?java.io.IOException;
import?java.sql.ResultSet;
import?java.sql.SQLException;
import?java.util.ArrayList;
import?java.util.Date;
import?java.util.List;
import?javax.servlet.RequestDispatcher;
import?javax.servlet.ServletConfig;
import?javax.servlet.ServletException;
import?javax.servlet.http.HttpServlet;
import?javax.servlet.http.HttpServletRequest;
import?javax.servlet.http.HttpServletResponse;
import?com.dao.DB;
import?com.orm.Yuangong;
public?class?yuangong_servlet?extends?HttpServlet
{?
public?void?service(HttpServletRequest?reqHttpServletResponse?res)throws?ServletException?IOException?
{
String?type=req.getParameter(“type“);
if(type.endsWith(“yuangongAdd“))
{
yuangongAdd(req?res);
}
if(type.endsWith(“yuangongMana“))
{
yuangongMana(req?res);
}
if(type.endsWith(“yuangongDel“))
{
yuangongDel(req?res);
}
if(type.endsWith(“yuangongEdit“))
{
yuangongEdit(req?res);
}
if(type.endsWith(“yuangongSearch“))
{
yuangongSearch(req?res);
}
if(type.endsWith(“yuangongSearch_bianhao“))
{
yuangongSearch_bianhao(req?res);
}
if(type.endsWith(“yuangongQuanxian“))
{
yuangongQuanxian(req?res);
}
}
public?void?yuangongAdd(HttpServletRequest?reqHttpServletResponse?res)
{
String?bianhao=req.getParameter(“bianhao“);
String?name=req.getParameter(“name“);
String?sex=req.getParameter(“sex“);
String?age=req.getParameter(“age“);
String?tel=req.getParameter(“tel“);
String?address=req.getParameter(“address“);
String?zhiwei=req.getParameter(“zhiwei“);
String?card=req.getParameter(“card“);
int?ruzhinianfei=Integer.parseInt(req.getParameter(“ruzhinianfei“));
String?sql=“insert?into?t_yuangong?values(?????????????)“;
object[]?params={bianhaonamesexageteladdresszhiweicardruzhinianfei0“““““no“};
DB?mydb=new?DB();
mydb.doPstm(sql?params);
mydb.closed();
req.setAttribute(“message“?“操作成功“);
req.setAttribute(“path“?“yuangong?type=yuangongMana“);
????????String?targetURL?=?“/common/success.jsp“;
dispatch(targetURL?req?res);
}
public?void?yuangongDel(HttpServletRequest?reqHttpServletResponse?res)
{
int?id=Integer.parseInt(req.getParameter(“id“));
String?sql=“update?t_yuangong?set?del=??where?id=?“;
object[]?params={“yes“id};
DB?mydb=new?DB();
mydb.doPstm(sql?params);
mydb.closed();
req.setAttribute(“message“?“操作成功“);
req.setAttribute(“path“?“yuangong?type=yuangongMana“);
????????String?targetURL?=?“/common/success.jsp“;
dispatch(targetURL?req?res);
}
public?void?yuangongMana(HttpServletRequest?reqHttpServletResponse?res)?throws?ServletException?IOException
{
List?yuangongList=new?ArrayList();
String?sql=“select?*?from?t_yuangong?where?del=‘no‘“;
object[]?params={};
DB?mydb=new?DB();
try
{
mydb.doPstm(sql?params);
ResultSet?rs=mydb.g
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-08-13?18:33??276JSP員工績(jī)效考核管理系統(tǒng)\
?????文件?????4255232??2012-03-03?17:36??276JSP員工績(jī)效考核管理系統(tǒng)\JSP員工績(jī)效考核管理系統(tǒng)錄像.avi
?????文件?????1048576??2013-08-13?18:58??276JSP員工績(jī)效考核管理系統(tǒng)\db_ygjx_Data.MDF
?????文件?????1048576??2013-08-13?18:58??276JSP員工績(jī)效考核管理系統(tǒng)\db_ygjx_Log.LDF
?????目錄???????????0??2013-08-13?17:55??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\
?????文件????????1416??2012-03-03?17:13??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\.classpath
?????目錄???????????0??2013-10-20?17:03??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\.myeclipse\
?????文件?????????285??2012-03-03?17:13??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\.myme
?????文件????????1222??2012-03-03?17:13??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\.project
?????目錄???????????0??2013-09-11?15:05??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\
?????目錄???????????0??2013-08-13?17:55??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\me
?????文件??????????39??2012-03-03?17:13??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\me
?????目錄???????????0??2013-08-13?17:55??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\
?????文件????????1389??2012-03-03?17:13??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\My97DatePicker.htm
?????文件????????8367??2012-03-03?17:13??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\WdatePicker.js
?????文件???????20471??2012-03-03?17:13??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\calendar.js
?????文件?????????223??2012-03-03?17:13??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\config.js
?????目錄???????????0??2013-08-13?17:55??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\lang\
?????文件?????????644??2012-03-03?17:13??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\lang\en.js
?????文件????????1089??2012-03-03?17:13??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\lang\zh-cn.js
?????文件????????1088??2012-03-03?17:13??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\lang\zh-tw.js
?????目錄???????????0??2013-08-13?17:55??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\skin\
?????文件?????????158??2012-03-03?17:13??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\skin\WdatePicker.css
?????文件????????1043??2012-03-03?17:13??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\skin\datePicker.gif
?????目錄???????????0??2013-08-13?17:55??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\skin\default\
?????文件????????3726??2012-03-03?17:13??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\skin\default\datepicker.css
?????文件????????1578??2012-03-03?17:13??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\skin\default\img.gif
?????目錄???????????0??2013-08-13?17:55??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\skin\whyGreen\
?????文件?????????307??2012-03-03?17:13??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\skin\whyGreen\bg.jpg
?????文件????????3933??2012-03-03?17:13??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\skin\whyGreen\datepicker.css
?????文件????????1679??2012-03-03?17:13??276JSP員工績(jī)效考核管理系統(tǒng)\ygjx\WebRoot\My97DatePicker\skin\whyGreen\img.gif
............此處省略852個(gè)文件信息
評(píng)論
共有 條評(píng)論