/// <summary> /// 修改员工的方法 /// </summary> /// <param name="emp">员工实体</param> /// <param name="nowPosIds">职位编号</param> /// <returns></returns> public int UpdateEmpInfo(EmployeeInfoContract emp, string nowPosIds) { employeeInfo employee = emp.ToPO<employeeInfo>(); return ed.UpdateEmpInfo(employee, nowPosIds); }
/// <summary> /// Edit /// </summary> /// <param name="emp"></param> public int EditEmp(EmployeeInfoContract emp) { return ed.EditEmp(emp.ToPO<employeeInfo>()); }
/// <summary> /// Insert /// </summary> /// <param name="emp"></param> public int InsertEmp(EmployeeInfoContract emp,Users user,employeeData empdata) { return ed.InsertEmp(emp.ToPO<employeeInfo>(),user,empdata); }