HR人力资源战略流程制定

发布时间:2018-09-25  栏目:法律  评论:0 Comments

法律 1

流程目标 
                                                                                                              
1) 针对企业:提高企业 HR 战略之效率与效果,提高 HR 服务品质,控制 HR
成本,加强 HR 安全
2) 针对职工:提高本岗位工作针对性 HR 战略之贡献度

作者:Petter Liu
出处:http://www.cnblogs.com/wintersun/
正文版权归作者和博客园共有,欢迎转载,但未经作者同意要保留这个段子声明,且以文章页面明显位置被起原文连接,否则保留追究法律责任的权利。
拖欠文章为又揭晓在我之单身博客中-Petter Liu
Blog。

作者:Petter Liu
出处:http://www.cnblogs.com/wintersun/
正文版权归作者和博客园共有,欢迎转载,但未经作者同意要保留这个段子声明,且以文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
拖欠篇为又披露在自己的独自博客中-Petter Liu
Blog。

Config文件是这般的:

HR人力资源战略:科学地解析预计公司以未来环境变化中人力资源的供与需求状况,制定必要的人力资源获取、利用、保持与付出政策,确保在用之年华跟需要的职上,明确人力资源在数据达以及品质及的需要,使公司及只员工获得持续的升华同利

公或许感兴趣之章:

若果有思了解又多软件,系统 IT,企业信息化 资讯,请关注自己之微信订阅号:

产一致潮将为汝介绍任何一样种植方式测试基于Web WCF Service。

法律 2

法律 3

瞩望对您来参考作用, 您或许感兴趣的篇章:

咱俩视返回都是200便OK了。强烈建议你下VS来DEBUG整个工艺流程。这个REST
Service提供了CRUD刚好对应了Http-GET,Http-POST,Http-DELETE,Http-PUT的操作。实际采用过程,可能还索要注意安全方面的元素。

08 制定企业愿意的帅HR蓝图    
分析未来1-2年底HR管理需求跟改
14 人才需求管理流程                     
HR 人员之素质能力

   1:      /// <summary>

   2:      /// CRUD Service  http://www.cnblogs.com/wintersun

   3:      /// </summary>

   4:      public class CRUDService : IDataService

   5:      {

   6:          public Employee Get(int id)

   7:          {

   8:              return new Employee() { EmployeeID = 11, Title = "Engineer" };

   9:          }

  10:   

  11:          public bool Update(int id)

  12:          {

  13:              //TODO

  14:              return true;

  15:          }

  16:   

  17:          public bool Delete(int id)

  18:          {

  19:              //TODO

  20:              return true;

  21:          }

  22:   

  23:          public bool Create(Employee employee)

  24:          {

  25:              //TODO

  26:              return true;

  27:          }

  28:      }

 

实现之service,为了演示这里只是简单实现。

HR人力资源战略
是靠因公司整体战略之求,为适应企业在和前进之消,对公司人力资源进行支付,提高职工队伍的整体素质,从中发现及培育出一致坏批判优秀人才,所进行的长远性的人力资源管理方面的正儿八经谋划和猷。

http://localhost:50422/CRUDService.svc/Get?Id=1

重中之重控制点:

Entity class:

法律 4

HTTP-PUT操作对我们的Update方法。接着是HTTP-DELETE, Request header RAW :

餐饮行业解决方案的客户分析流程
餐饮行业解决方案的贾战略制定与执行流程
餐饮行业解决方案的务设计流程
提计算参考架构几规章
企业应用之性质实时度量系统演化

可望马上首POST对而支付出帮带。

在意,我们利用是webHttpBinding,在DEBUG时好将includeExceptionDetailInFaults设置也true.
我们通用会使Svcutil.exe转变proxy类,但对webHttpBinding是未见面生成Output.config的。

      现在咱们可据此 WCF 4
轻易构建一个REST
Service,如何测试为?
先是给我们来看类图:

DELETE http://localhost:50422/CRUDService.svc/Del?id=1 HTTP/1.1
User-Agent: Fiddler
Host: localhost:50422

GET http://localhost:50422/CRUDService.svc/Get?id=1 HTTP/1.1
User-Agent: Fiddler
Host: localhost:50422

   1:    <system.serviceModel>

   2:      <services>

   3:        <service name="webdemo.CRUDService" behaviorConfiguration="ServiceBehaviour">

   4:          <endpoint address=""  binding="webHttpBinding" contract="webdemo.IDataService" behaviorConfiguration="web">

   5:          </endpoint>

   6:        </service>

   7:      </services>

   8:      <behaviors>

   9:        <endpointBehaviors>

  10:          <behavior name="web">

  11:            <webHttp />

  12:          </behavior>

  13:        </endpointBehaviors>

  14:        <serviceBehaviors>

  15:          <behavior name="ServiceBehaviour">

  16:            <serviceMetadata httpGetEnabled="true" />

  17:            <serviceDebug includeExceptionDetailInFaults="false" />

  18:          </behavior>

  19:          <behavior>

  20:            <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->

  21:            <serviceMetadata httpGetEnabled="true"/>

  22:            <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->

  23:            <serviceDebug includeExceptionDetailInFaults="false"/>

  24:          </behavior>

  25:        </serviceBehaviors>

  26:      </behaviors>

  27:      <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />

  28:    </system.serviceModel>

Response RAW:

终极测试的是HTTP-POST方法,这个大家比较成熟悉. Request RAW header:

我们用Fiddler来测试,它有一个效是Request
Builder,下面来测试Get方法, Request RAW:

http://localhost:50422/CRUDService.svc

HTTP/1.1 200 OK
Server: ASP.NET Development Server/10.0.0.0
Date: Tue, 28 Jun 2011 06:21:01 GMT
X-AspNet-Version: 4.0.30319
Content-Length: 83
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Connection: Close

<boolean
xmlns=”http://schemas.microsoft.com/2003/10/Serialization/%22>true</boolean>

眼前几潮操作而下图,您或许注意到这个方法还回去是bool值,对诺高达面RAW

于Http Get 操作我们好一直在浏览器测试,当我们走访

调用Get的时序图,其它方法类似了。

法律 5

PUT http://localhost:50422/CRUDService.svc/Update?id=1 HTTP/1.1
User-Agent: Fiddler
Host: localhost:50422

HTTP/1.1 200 OK
Server: ASP.NET Development Server/10.0.0.0
Date: Tue, 28 Jun 2011 06:18:05 GMT
X-AspNet-Version: 4.0.30319
Content-Length: 651
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Connection: Close

<Employee
xmlns=”http://schemas.datacontract.org/2004/07/webdemo%22
xmlns:i=”http://www.w3.org/2001/XMLSchema-instance%22><BirthDate>0001-01-01T00:00:00</BirthDate><ContactID>0</ContactID><CurrentFlag>false</CurrentFlag><EmployeeID>11</EmployeeID><Gender
i:nil=”true”/><HireDate>0001-01-01T00:00:00</HireDate><LoginID
i:nil=”true”/><ManagerID i:nil=”true”/><MaritalStatus
i:nil=”true”/><ModifiedDate>0001-01-01T00:00:00</ModifiedDate><NationalIDNumber
i:nil=”true”/><SalariedFlag>false</SalariedFlag><SickLeaveHours>0</SickLeaveHours><Title>Engineer</Title><VacationHours>0</VacationHours><rowguid>00000000-0000-0000-0000-000000000000</rowguid></Employee>

这边是基于XML的格式数据。看截图:

跟前面不同我们还索要POST一个BODY,在Server端WCF会帮咱拿XML反序列化成Object. 

   1:      [DataContract]

   2:      public partial class Employee 

   3:      {

   4:          public Employee()

   5:          {}

   6:   

   7:          [DataMember]

   8:          public int EmployeeID { get; set; }

   9:          [DataMember]

  10:          public string NationalIDNumber { get; set; }

  11:          [DataMember]

  12:          public int ContactID { get; set; }

  13:          [DataMember]

  14:          public string LoginID { get; set; }

  15:          [DataMember]

  16:          public Nullable<int> ManagerID { get; set; }

  17:          [DataMember]

  18:          public string Title { get; set; }

  19:          [DataMember]

  20:          public System.DateTime BirthDate { get; set; }

  21:          [DataMember]

  22:          public string MaritalStatus { get; set; }

  23:          [DataMember]

  24:          public string Gender { get; set; }

  25:          [DataMember]

  26:          public System.DateTime HireDate { get; set; }

  27:          [DataMember]

  28:          public bool SalariedFlag { get; set; }

  29:          [DataMember]

  30:          public short VacationHours { get; set; }

  31:          [DataMember]

  32:          public short SickLeaveHours { get; set; }

  33:          [DataMember]

  34:          public bool CurrentFlag { get; set; }

  35:          [DataMember]

  36:          public System.Guid rowguid { get; set; }

  37:          [DataMember]

  38:          public System.DateTime ModifiedDate { get; set; }

  39:      }

法律 6

下一场Response RAW是这样的:

当我们编译,Host这个Service,你打浏览器被开辟类似这样的URL:

代码是这样的:

POST方法Response RAW:

HTTP/1.1 200 OK
Server: ASP.NET Development Server/10.0.0.0
Date: Tue, 28 Jun 2011 06:22:29 GMT
X-AspNet-Version: 4.0.30319
Content-Length: 83
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Connection: Close

<boolean
xmlns=”http://schemas.microsoft.com/2003/10/Serialization/%22>true</boolean>

POST http://localhost:50422/CRUDService.svc/Create HTTP/1.1
User-Agent: Fiddler
Content-Type: application/xml; charset=utf-8
Host: localhost:50422
Content-Length: 652

HTTP/1.1 200 OK
Server: ASP.NET Development Server/10.0.0.0
Date: Tue, 28 Jun 2011 06:20:15 GMT
X-AspNet-Version: 4.0.30319
Content-Length: 83
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Connection: Close

<boolean
xmlns=”http://schemas.microsoft.com/2003/10/Serialization/%22>true</boolean>

法律 7

<Employee
xmlns=”http://schemas.datacontract.org/2004/07/webdemo%22
xmlns:i=”http://www.w3.org/2001/XMLSchema-instance%22><BirthDate>0001-01-01T00:00:00</BirthDate><ContactID>0</ContactID><CurrentFlag>false</CurrentFlag><EmployeeID>11</EmployeeID><Gender
i:nil=”true”/><HireDate>0001-01-01T00:00:00</HireDate><LoginID
i:nil=”true”/><ManagerID i:nil=”true”/><MaritalStatus
i:nil=”true”/><ModifiedDate>0001-01-01T00:00:00</ModifiedDate><NationalIDNumber
i:nil=”true”/><SalariedFlag>false</SalariedFlag><SickLeaveHours>0</SickLeaveHours><Title>asdfasd</Title><VacationHours>0</VacationHours><rowguid>00000000-0000-0000-0000-000000000000</rowguid></Employee>

C#贯彻一个粗略的REST
service

   1:      [ServiceContract]

   2:      public interface IDataService

   3:      {

   4:            [OperationContract]

   5:            [WebGet(UriTemplate = "/Get?id={id}")]

   6:            Employee Get(int id);

   7:   

   8:            [OperationContract]

   9:            [WebInvoke(UriTemplate = "/Update?id={id}", Method = "PUT")]

  10:            bool Update(int id);

  11:   

  12:            [OperationContract]

  13:            [WebInvoke(UriTemplate = "/Del?id={id}", Method = "DELETE")]

  14:            bool Delete(int id);

  15:   

  16:            [OperationContract]

  17:            [WebInvoke(UriTemplate = "Create", Method = "POST")]

  18:            bool Create(Employee employee);

  19:      }

Response RAW:

Request PUT :

留下评论