資源簡介
企業人力資源管理系統,java+java servlet+jsp+mysql。。。
代碼片段和文件信息
package?com.wy.action;
import?java.util.List;
import?javax.servlet.http.HttpServletRequest;
import?javax.servlet.http.HttpServletResponse;
import?org.apache.struts.action.ActionForm;
import?org.apache.struts.action.ActionForward;
import?org.apache.struts.action.ActionMapping;
import?org.apache.struts.actions.DispatchAction;
import?com.wy.dao.objectDao;
import?com.wy.form.CjForm;
import?com.wy.form.TrainForm;
public?class?CjAction?extends?DispatchAction?{
private?objectDao?objectDao;
public?objectDao?getobjectDao()?{
return?objectDao;
}
public?void?setobjectDao(objectDao?objectDao)?{
this.objectDao?=?objectDao;
}
//?獎懲察看操作
public?ActionForward?queryCj(ActionMapping?mapping?ActionForm?form
HttpServletRequest?request?HttpServletResponse?response)?{
String?information?=?“from?CjForm?order?by?id?desc“;
if?(request.getParameter(“type“)?!=?null)?{
String?type?=?request.getParameter(“type“).trim();
information?=?“from?CjForm?where?cj_type=“?+?type
+?“?order?by?id?desc“;
request.setAttribute(“type“?type);
}
System.out.println(“information:“+information);
List?list?=?objectDao.getobjectList(information);
request.setAttribute(“list“?list);
return?mapping.findForward(“queryCj“);
}
//?刪除獎懲操作
public?ActionForward?deleteCj(ActionMapping?mapping?ActionForm?form
HttpServletRequest?request?HttpServletResponse?response)?{
String?id?=?request.getParameter(“id“);
if?(id?==?null)?{
CjForm?cjForm?=?(CjForm)?objectDao
.getobjectForm(“from?CjForm?where?id=‘“?+?id?+?“‘“);
this.objectDao.deleteobjectForm(cjForm);
}
return?this.queryCj(mapping?form?request?response);
}
//?添加獎懲操作
public?ActionForward?saveCj(ActionMapping?mapping?ActionForm?form
HttpServletRequest?request?HttpServletResponse?response)?{
CjForm?cjForm?=?(CjForm)?form;
this.objectDao.insertobjectForm(cjForm);
return?mapping.findForward(“operationCj“);
}
//?獎懲詳細查詢
public?ActionForward?queryOneCj(ActionMapping?mapping?ActionForm?form
HttpServletRequest?request?HttpServletResponse?response)?{
String?id?=?request.getParameter(“id“);
CjForm?cjForm?=?(CjForm)?objectDao
.getobjectForm(“from?CjForm?where?id=‘“?+?id?+?“‘“);
request.setAttribute(“cjForm“?cjForm);
return?mapping.findForward(“queryOneCj“);
}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????234??2018-06-21?17:06??企業人力資源管理系統\.project
?????文件??????17219??2013-07-09?08:30??企業人力資源管理系統\db_personmanager.sql
?????文件????????836??2013-07-08?16:21??企業人力資源管理系統\PersonManager\.classpath
?????文件???????1046??2013-07-08?16:21??企業人力資源管理系統\PersonManager\.project
?????文件????????503??2013-07-08?16:21??企業人力資源管理系統\PersonManager\.settings\.jsdtscope
?????文件????????395??2013-07-08?16:21??企業人力資源管理系統\PersonManager\.settings\org.eclipse.jdt.core.prefs
?????文件????????469??2013-07-08?16:21??企業人力資源管理系統\PersonManager\.settings\org.eclipse.wst.common.component
?????文件????????345??2013-07-08?16:21??企業人力資源管理系統\PersonManager\.settings\org.eclipse.wst.common.project.facet.core.xm
?????文件?????????49??2013-07-08?16:21??企業人力資源管理系統\PersonManager\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件??????????6??2013-07-08?16:21??企業人力資源管理系統\PersonManager\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????文件????????180??2013-07-08?16:36??企業人力資源管理系統\PersonManager\build\classes\com\applicationResources.properties
?????文件???????3100??2013-07-08?18:49??企業人力資源管理系統\PersonManager\build\classes\com\wy\action\CjAction.class
?????文件???????2912??2013-07-08?18:49??企業人力資源管理系統\PersonManager\build\classes\com\wy\action\DepartmentAction.class
?????文件???????6421??2013-07-08?18:49??企業人力資源管理系統\PersonManager\build\classes\com\wy\action\EmployeeAction.class
?????文件???????3523??2013-07-08?18:49??企業人力資源管理系統\PersonManager\build\classes\com\wy\action\InviteJobAction.class
?????文件???????3730??2013-07-08?18:49??企業人力資源管理系統\PersonManager\build\classes\com\wy\action\ManagerAction.class
?????文件???????3879??2013-07-08?18:49??企業人力資源管理系統\PersonManager\build\classes\com\wy\action\PayAction.class
?????文件???????2690??2013-07-08?18:49??企業人力資源管理系統\PersonManager\build\classes\com\wy\action\TrainAction.class
?????文件???????1951??2013-07-08?18:49??企業人力資源管理系統\PersonManager\build\classes\com\wy\dao\ob
?????文件???????1577??2013-07-08?18:49??企業人力資源管理系統\PersonManager\build\classes\com\wy\form\CjForm.class
?????文件???????1266??2013-07-08?16:36??企業人力資源管理系統\PersonManager\build\classes\com\wy\form\CjForm.hbm.xm
?????文件???????1198??2013-07-08?18:49??企業人力資源管理系統\PersonManager\build\classes\com\wy\form\DepartmentForm.class
?????文件???????1563??2013-07-08?16:36??企業人力資源管理系統\PersonManager\build\classes\com\wy\form\DepartmentForm.hbm.xm
?????文件???????5159??2013-07-08?18:49??企業人力資源管理系統\PersonManager\build\classes\com\wy\form\EmployeeForm.class
?????文件???????3741??2013-07-08?16:36??企業人力資源管理系統\PersonManager\build\classes\com\wy\form\EmployeeForm.hbm.xm
?????文件???????3406??2013-07-08?18:49??企業人力資源管理系統\PersonManager\build\classes\com\wy\form\InviteJobForm.class
?????文件???????2613??2013-07-08?16:36??企業人力資源管理系統\PersonManager\build\classes\com\wy\form\InviteJopForm.hbm.xm
?????文件???????1176??2013-07-08?18:49??企業人力資源管理系統\PersonManager\build\classes\com\wy\form\ManagerForm.class
?????文件????????974??2013-07-08?16:36??企業人力資源管理系統\PersonManager\build\classes\com\wy\form\ManagerForm.hbm.xm
?????文件???????2617??2013-07-08?18:49??企業人力資源管理系統\PersonManager\build\classes\com\wy\form\PayForm.class
............此處省略180個文件信息
評論
共有 條評論