3.0.11 • Published 4 years ago

@ganker/personnel-file.api v3.0.11

Weekly downloads
-
License
-
Repository
-
Last release
4 years ago

集成指挥中心

占道施工、110接处警、受理单、有效警力报备、派警信息、人员档案管理的api接口层

人员档案接口文档

  1. personnelInformationList

    • 接口功能:

      人员档案列表查询

    • 请求参数

      请求字段字段类型是否必填说明
      wherePersonnelInformationListInput为空时查询所有人员档案,不为空时按条件查询
      limitListLimt分页参数
      PersonnelInformationListInput {  
      /** 人员编号 */
      personCode?: string;
      /** 姓名 */
      realName?: string;
      /** 人员类型 */
      idTypeCodeOfPublicSecurityOrganStaff?: string;
      /** 需排序字段 */
      field?: string;
      		/** 排序规则 */
      orderRule?: string;
      }
      ListLimit {
      page: number;
      psize: number;
      }
     - #### 返回参数
    
     返回字段 | 返回值类型 | 说明
     | --- | --- | --- | 
     PersonnelInformationListResult|ListCount  | 
PersonnelInformationListResult {
    /** 序号 */
    id?: number;
    /** 人员编号  */
    personCode?: string;
    /** 人员类型 */
    idTypeCodeOfPublicSecurityOrganStaff?: string;
    /** 姓名 */
    realName?: string;
    /** 记录类型 1: 非上报 2: 上报 */
    recordType?: string;
    /** 部门名称 */
    departmentName?: string;
    /** 所属部门Id */
    departmentId?: number
    /** 所属部门代码 */
    departmentCode?: string
    /** 身份证号 */
    idCardNumber?: string;
    /** 出生日期 */
    dateOfBirth?: string;
    /** 性别  0:未知的性别 1:男 2 :女  9:未说明的性别 */
    genderCode?: string;
    /** 民族 */
    nationalCode?: string;
    /** 政治面貌 */
    politicalStatusCode?: string;
    /** 入队时间 */
    joinTeamDate?: string;
    /** 学历 */
    educationalLevelCode?: string;
    /** 所学专业 */
    major?: string;
    /** 联系手机 */
    mobileNumber?: string;
    /** 办公电话 */
    officePhone?: string;
    /** 家庭电话 */
    familyPhone?: string;
    /** 籍贯 */
    nativePlace?: string;
    /** 家庭住址 */
    address?: string;
    /** 备注 */
    note?: string;
    /** 警员类型 */
    policeType?: string
    /** 警衔 */
    policeRankAndCivilianRankCode?: string
    /** 职级 */
    jobLevelCode?: string;
    /** 执法资格等级 */
    lawEnforcementLevel?: string;
    /** 编制类别 */
    compileCategoryCode?: string;
    /** 事故处理等级 */
    solveAccidentLevel?: string;
    /** 入党/入团时间 */
    joinPartyDate?: string;
    /** 创建时间 */
    createDate?: string;
    /** 创建人 */
    createUserName?: string;
}
  1. personnelInformationAdd

    • 接口功能:

      新增一条人员档案信息

    • 请求参数

      请求字段字段类型是否必填说明
      wherePersonnelInformationAddInput
      PersonnelInformationAddInput {
      /** 人员类型 */  
      idTypeCodeOfPublicSecurityOrganStaff: string;  
      /** 姓名 */
      realName: string;
      /** 记录类型 1: 非上报 2: 上报 */
      recordType: string;
      /** 所属部门Id */
      departmentId: number
      /** 身份证号 */
      idCardNumber: string;
      /** 出生日期 */
      dateOfBirth: string;
      /** 性别  0:未知的性别 1:男 2 :女  9:未说明的性别 */
      genderCode: string;
      /** 民族 */
      nationalCode: string;
      /** 政治面貌 */
      politicalStatusCode?: string;
      /** 入队时间 */
      joinTeamDate?: string;
      /** 学历 */
      educationalLevelCode?: string;
      /** 所学专业 */
      major?: string;
      /** 联系手机 */
      mobileNumber?: string;
      /** 办公电话 */
      officePhone?: string;
      /** 家庭电话 */
      familyPhone?: string;
      /** 籍贯  */
      nativePlace?: string;
      /** 家庭住址 */
      address?: string;
      /** 备注 */
      note?: string;
      /** 警员类型 */
      policeType?: string
      /** 警员编号 */
      policeCode?: string
      /** 警衔 */
      policeRankAndCivilianRankCode?: string
      /** 职级 */
      jobLevelCode?: string;
      /** 执法资格等级 */
      lawEnforcementLevel?: string;
      /** 编制类别 */
      compileCategoryCode?: string;
      /** 事故处理等级 */
      solveAccidentLevel?: string;
      /** 入党/入团时间 */
      joinPartyDate?: string;
      }
     - #### 返回参数
    
     返回字段 | 返回值类型 | 说明
     | --- | --- | --- | 
       无| Object  | 返回新增成功后的人员档案信息
  2. personnelInformationUpdate

    • 接口功能:

      修改一条指定的人员档案信息

    • 请求参数

      请求字段字段类型是否必填说明
      wherePersonnelInformationAddInput
      PersonnelInformationAddInput {
      /** id */
      id:number
      /** 人员类型 */  
      idTypeCodeOfPublicSecurityOrganStaff: string;  
      /** 姓名 */
      realName: string;
      /** 记录类型 1: 非上报 2: 上报 */
      recordType: string;
      /** 所属部门Id */
      departmentId: number
      /** 身份证号 */
      idCardNumber: string;
      /** 出生日期 */
      dateOfBirth: string;
      /** 性别  0:未知的性别 1:男 2 :女  9:未说明的性别 */
      genderCode: string;
      /** 民族 */
      nationalCode: string;
      /** 政治面貌 */
      politicalStatusCode?: string;
      /** 入队时间 */
      joinTeamDate?: string;
      /** 学历 */
      educationalLevelCode?: string;
      /** 所学专业 */
      major?: string;
      /** 联系手机 */
      mobileNumber?: string;
      /** 办公电话 */
      officePhone?: string;
      /** 家庭电话 */
      familyPhone?: string;
      /** 籍贯  */
      nativePlace?: string;
      /** 家庭住址 */
      address?: string;
      /** 备注 */
      note?: string;
      /** 警员类型 */
      policeType?: string
      /** 警员编号 */
      policeCode?: string
      /** 警衔 */
      policeRankAndCivilianRankCode?: string
      /** 职级 */
      jobLevelCode?: string;
      /** 执法资格等级 */
      lawEnforcementLevel?: string;
      /** 编制类别 */
      compileCategoryCode?: string;
      /** 事故处理等级 */
      solveAccidentLevel?: string;
      /** 入党/入团时间 */
      joinPartyDate?: string;
      }
     - #### 返回参数
    
     返回字段 | 返回值类型 | 说明
     | --- | --- | --- | 
       无| Object  | 返回修改过后的人员档案信息
  3. personnelInformationDelete

    • 接口功能:

      根据id删除一条指定的人员档案信息

    • 请求参数

    请求字段字段类型是否必填说明
    idnumber
    • 返回参数

    返回字段返回值类型说明
    Object返回被删除的人员档案信息