package org.better.hr.web.action;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;
import org.better.hr.biz.ConfigFileFirstKindBiz;
import org.better.hr.biz.ConfigFileSecondKindBiz;
import org.better.hr.biz.ConfigFileThirdKindBiz;
import org.better.hr.biz.ConfigMajorBiz;
import org.better.hr.biz.ConfigMajorKindBiz;
import org.better.hr.biz.ConfigPublicCharBiz;
import org.better.hr.biz.HumanFileBiz;
import org.better.hr.biz.HumanFileDigBiz;
import org.better.hr.biz.SalaryStandardBiz;
import org.better.hr.comm.CopyBean;
import org.better.hr.comm.Load;
import org.better.hr.comm.Util;
import org.better.hr.entity.EngageResume;
import org.better.hr.entity.HumanFile;
import org.better.hr.entity.HumanFileDig;
import org.better.hr.exception.HrException;
import org.better.hr.web.form.HumanFileForm;
import org.springframework.beans.BeanUtils;
public class HumanFileAction extends BasicAction {
private HumanFileBiz humanfileBiz; //业务操作对象
private ConfigPublicCharBiz configpubliccharBiz;
private ConfigFileFirstKindBiz configfilefirstkindBiz;
private ConfigFileSecondKindBiz configfilesecondkindBiz;
private ConfigFileThirdKindBiz configfilethirdkindBiz;
private ConfigMajorKindBiz configmajorkindBiz;
private ConfigMajorBiz configmajorBiz;
private SalaryStandardBiz salarystandardBiz;
private HumanFileDigBiz humanfiledigBiz;
private final String _PICPATH = "Upload\\img\\";
private final String _ATTPATH = "Upload\\attach\\";
public HumanFileBiz getHumanfileBiz() {
return humanfileBiz;
}
public void setHumanfileBiz(HumanFileBiz humanfileBiz) {
this.humanfileBiz = humanfileBiz;
}
public ConfigPublicCharBiz getConfigpubliccharBiz() {
return configpubliccharBiz;
}
public void setConfigpubliccharBiz(ConfigPublicCharBiz configpubliccharBiz) {
this.configpubliccharBiz = configpubliccharBiz;
}
public ConfigFileFirstKindBiz getConfigfilefirstkindBiz() {
return configfilefirstkindBiz;
}
public void setConfigfilefirstkindBiz(
ConfigFileFirstKindBiz configfilefirstkindBiz) {
this.configfilefirstkindBiz = configfilefirstkindBiz;
}
public ConfigFileSecondKindBiz getConfigfilesecondkindBiz() {
return configfilesecondkindBiz;
}
public void setConfigfilesecondkindBiz(
ConfigFileSecondKindBiz configfilesecondkindBiz) {
this.configfilesecondkindBiz = configfilesecondkindBiz;
}
public ConfigFileThirdKindBiz getConfigfilethirdkindBiz() {
return configfilethirdkindBiz;
}
public void setConfigfilethirdkindBiz(
ConfigFileThirdKindBiz configfilethirdkindBiz) {
this.configfilethirdkindBiz = configfilethirdkindBiz;
}
public ConfigMajorBiz getConfigmajorBiz() {
return configmajorBiz;
}
public void setConfigmajorBiz(ConfigMajorBiz configmajorBiz) {
this.configmajorBiz = configmajorBiz;
}
public ConfigMajorKindBiz getConfigmajorkindBiz() {
return configmajorkindBiz;
}
public void setConfigmajorkindBiz(ConfigMajorKindBiz configmajorkindBiz) {
this.configmajorkindBiz = configmajorkindBiz;
}
public SalaryStandardBiz getSalarystandardBiz() {
return salarystandardBiz;
}
public void setSalarystandardBiz(SalaryStandardBiz salarystandardBiz) {
this.salarystandardBiz = salarystandardBiz;
}
public HumanFileDigBiz getHumanfiledigBiz() {
return humanfiledigBiz;
}
public void setHumanfiledigBiz(HumanFileDigBiz humanfiledigBiz) {
this.humanfiledigBiz = humanfiledigBiz;
}
/**
* 跳转到新增页面
* @param mapping
* @param form
* @param request
* @param response
* @return
*/
public ActionForward toAdd(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) throws HrException
{
List list_firstkind = this.getConfigfilefirstkindBiz().list(null);
List list_secondkind = this.getConfigfilesecondkindBiz().list(null);
List list_thirdkind = this.getConfigfilethirdkindBiz().list(null);
List list_majorkind = this.getConfigmajorkindBiz().list(null);
List list_major = this.getConfigmajorBiz().list(null);
HashMap map = this.getConfigpubliccharBiz().listForHumanFile(null);
List list_salary = this.getSalarystandardBiz().list(null);
request.setAttribute("list_firstkind", list_firstkind);
request.setAttribute("list_secondkind", list_secondkind);
request.setAttribute("list_thirdkind", list_thirdkind);
request.setAttribute("list_majorkind", list_majorkind);
request.setAttribute("list_major", list_major);
request.setAttribute("map", map);
request.setAttribute("list_salary", list_salary);
return mapping.findForward("add");
}
/**
* 跳转到添加图片页面
* @param mapping
* @param form
* @param request
* @param response
* @return
*/
public ActionForward toUpLoadPhoto(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) throws HrException
{
HumanFileForm myForm = (HumanFileForm) form;
HttpSession session = request.getSession();
if(myForm.getItem().getHumanName() != null)
session.setAttribute("item", myForm.getItem());
String method = request.getParameter("method");
if(method.equals("register"))
return mapping.findForward("register_addPhoto");
else if(method.equals("check"))
return mapping.findForward("check_addPhoto");
else
return mapping.findForward("change_addPhoto");
}
/**
* 执行添加图片操作
* @param mapping
* @param form
* @param request
* @param response
* @return
* @throws HrException
*/
public ActionForward doUpLoadPhoto(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) throws HrException
{
HumanFileForm myForm = (HumanFileForm) form;
FormFile file = myForm.getThePhoto();
String filepath = servlet.getServletContext().getRealPath("\\") + _PICPATH;
String myPic = Load.upload(file, filepath);
HttpSession session = request.getSession();
HumanFile hufile = (HumanFile)session.getAttribute("item");
hufile.setHumanPicture(_PICPATH + myPic);
session.setAttribute("item", hufile);
String method = request.getParameter("method");
if(method.equals("register"))
return mapping.findForward("register_addAttach");
else if(method.equals("check"))
return mapping.findForward("check_addAttach");
else
return mapping.findForward("change_addAttach");
}
/**
* 跳转到添加附件页面
* @param mapping
* @param form
* @param request
* @param response
* @return
* @throws HrException
*/
public ActionForward toUpLoadAttach(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) throws HrException
{
HumanFileForm myForm = (HumanFileForm) form;
HttpSession session = request.getSession();
if(myForm.getItem().getHumanName() != null)
session.setAttribute("item", myForm.getItem());
String method = request.getParameter("method");
if(method.equals("register"))
return mapping.findForward("register_addAttach");
else if(method.equals("check"))
return mapping.findForward("check_addAttach");
else
return mapping.findForward("change_addAttach");
}
/**
* 执行添加附件操作
* @param mapping
* @param form
* @param request
* @param response
* @return
* @throws HrException
*/
public ActionForward doUpLoadAttach(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) throws HrException
{
HumanF
没有合适的资源?快使用搜索试试~ 我知道了~
非常好的人力资源管理系统(hr)
共848个文件
gif:166个
class:165个
jsp:163个
4星 · 超过85%的资源 需积分: 9 126 下载量 136 浏览量
2010-06-25
22:40:46
上传
评论 7
收藏 7.71MB RAR 举报
温馨提示
人力资源管理,是基于先进的信息和互联网技术的全新人力资源管理模式,它可以降低成本、提高效率、改进员工服务模式的目的。HR 的引入可减少企业人力资源行政的负荷,优化人力资源管理流程,改善人力资源管理部门的服务质量,提供决策支持,帮助企业实现战略性人力资源管理的转变。 非常好的人力资源管理系统 全部是JAVA语言写出来,想学人力资源,想学更高层的JAVA语言技术,易看,易懂。大家必需更多去学习。这样磨练才会成功。代码更加成熟。谢谢!
资源推荐
资源详情
资源评论
收起资源包目录
非常好的人力资源管理系统(hr) (848个子文件)
go.bmp 1KB
HumanFileAction.class 17KB
AbstractHumanFileDig.class 16KB
AbstractHumanFile.class 16KB
AbstractEngageResume.class 13KB
EngageResumeAction.class 13KB
AbstractMajorChange.class 9KB
EngageMajorReleaseAction.class 8KB
SalaryStandardAction.class 8KB
HumanFile.class 7KB
EngageSubjectsAction.class 6KB
AbstractEngageInterview.class 6KB
ConfigPublicCharBiz.class 6KB
ExportFileAction.class 6KB
EngageInterviewAction.class 6KB
AbstractEngageMajorRelease.class 5KB
HumanFileBiz.class 5KB
EngageResume.class 5KB
UsersAction.class 5KB
HumanFileDig.class 5KB
AbstractSalaryGrant.class 5KB
AbstractTraining.class 5KB
AbstractEngageSubjects.class 4KB
ConfigFileFirstKindAction.class 4KB
AbstractBonus.class 4KB
AbstractSalaryStandard.class 4KB
BasicDao.class 4KB
ConfigFileThirdKindAction.class 4KB
AbstractEngageAnswer.class 4KB
ConfigPrimaryKeyAction.class 3KB
EngageMajorReleaseBiz.class 3KB
ConfigMajorKindAction.class 3KB
ConfigFileSecondKindAction.class 3KB
TrainingAction.class 3KB
EngageResumeBiz.class 3KB
ExportFileList.class 3KB
EngageSubjectsBiz.class 3KB
SalaryStandardBiz.class 3KB
ConfigProfessionDesignAction.class 3KB
ConfigPublicCharAction.class 3KB
ConfigFileFirstKindBiz.class 3KB
HumanFileDao$1.class 3KB
ConfigFileThirdKindBiz.class 3KB
ConfigFileSecondKindBiz.class 3KB
Excel.class 3KB
EngageSubjects.class 3KB
EngageInterviewBiz.class 3KB
ConfigMajorKindBiz.class 3KB
ConfigMajorBiz.class 3KB
updownPage.class 3KB
AbstractConfigFileThirdKind.class 3KB
AbstractSalaryGrantDetails.class 3KB
ConfigFileSecondKindDao$1.class 3KB
AbstractEngageExam.class 3KB
ConfigQuestionSecondKindBiz.class 3KB
ConfigMajorAction.class 3KB
HumanFileDigBiz.class 3KB
EngageResumeDao$1.class 3KB
ConfigQuestionFirstKindBiz.class 3KB
ConfigFileFirstKindDao$1.class 2KB
SalaryStandard.class 2KB
SalaryStandardDetailsBiz.class 2KB
ExportFileBiz.class 2KB
TrainingBiz.class 2KB
Util.class 2KB
SalaryStandardDao$1.class 2KB
ExportFileDao.class 2KB
ConfigPrimaryKeyBiz.class 2KB
AbstractConfigFileSecondKind.class 2KB
AbstractEngageExamDetails.class 2KB
EngageSubjectsDao$1.class 2KB
ConfigMajorKindDao$1.class 2KB
EngageMajorRelease.class 2KB
EngageInterview.class 2KB
AbstractSalaryStandardDetails.class 2KB
UsersBiz.class 2KB
SalaryStandardDetailsDao.class 2KB
ConfigFileFirstKindDao.class 2KB
ConfigFileSecondKindDao.class 2KB
MajorChange.class 2KB
ConfigFileThirdKindDao.class 2KB
EngageMajorReleaseDao.class 2KB
SalaryStandardDao.class 2KB
EngageInterviewDao.class 2KB
ConfigMajorKindDao.class 2KB
ConfigPublicCharDao$1.class 2KB
EngageResumeDao.class 2KB
EngageInterviewDao$1.class 2KB
SalaryStandardDetailsDao$1.class 2KB
ConfigPrimaryKeyDao$1.class 2KB
AbstractConfigMajor.class 2KB
UsersDao$1.class 2KB
HumanFileDigDao$1.class 2KB
HumanFileDao.class 2KB
CopyBean.class 2KB
AbstractConfigPrimaryKey.class 2KB
HumanFileForm.class 2KB
AbstractConfigFileFirstKind.class 2KB
AbstractConfigQuestionSecondKind.class 2KB
ConfigQuestionSecondKindDao$1.class 2KB
共 848 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
资源评论
- 丝路花雨的泪2014-04-04值得借鉴,可以作为入门学习
- 罗伯特先森2012-12-05可以 写论文的时候可以参考下。
- love520hujian2012-06-13不错的。很实用
- lon8944750632014-05-19数据库有问题
- eg9001112013-09-11还不错,可以拿来学习下
iceman_hua
- 粉丝: 12
- 资源: 154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 西门子200smart,3轴控制程序,西门子触摸屏程序,详细注释,IO表,电气原理图04
- D盘资料库的学习文件电气
- maxwell simplorer simulink 永磁同步电机矢量控制联合仿真,电机为分数槽绕组,使用pi控制SVPWM调制,修改文件路径后可使用,软件版本matlab 2017b, Maxwel
- 1计及网架重构分布式电源容量配置程序 粒子群算法 粒子群算法对配电网分布式电源容量配置 以IEEE33节点为例 以节点电压偏差最小,有功网损最小为优化目标,计及配电网网架重构,优化DG容量和开断支
- 单片机C语言源码400例.zip
- D盘文件学习资料使用授权
- 虚拟机学习D盘资料使用
- comsol弯月型BIC,涉及线偏振斜入射设置
- 三菱FX5U系列PLC及模块选型样本最新版IQ-F
- 通信原理保研复习:信号分析、随机过程与信道调制关键技术总结
- 新型混合粒子群算法、鲸鱼算法优化永磁同步电机模型预测控制参数,适合发表小lunwen(鲸鱼算法只有算法代码,暂无模型) 图中包含新型混合粒子群算法和其他两种智能算法的寻优过程对比,新型混合粒子群算法
- 光伏混合储能同步发电机VSG并网仿真模型 ①VSG控制 由有功频率环和无功调压环组成,其中有功频率环包括一次调频以及转子机械方程 由有功环产生频率和相位,无功环产生电压幅值,然后组成三相参考电压
- 固件-S7-1212系列(包含故障安全型)-V4.7.0版本.rar
- Comsol 模拟 仿真 模型 热-流-固四场耦合增透瓦斯抽采,包括动态渗透率、孔隙率变化模型,涉及pde模块等四个物理场
- Java语言基于springboot的就业信息管理系统源码+数据库(高分毕设)
- 固件-S7-1214系列(包含故障安全型)-V4.7.0版本.rar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功