Skip to content

工人考勤刷卡记录新

接口地址

SERVICE-ADDRESS/attendance/cardV2

方法:get

参数说明

参数 类型 是否必须 说明
appid String 唯一凭证
sign String 签名
beginDate String 开始时间(yyyy-MM-dd)
endDate String 结束时间(yyyy-MM-dd),时间段间隔最长一个月
inOutType String IN进,OUT出
projectId Long 项目编码
startId Long 开始ID(第一次查询为0,之后的查询需要把上一次最后的id赋值返回。)
pageSize Integer 每页大小范围为1-1000

返回数据示例

{
  "success": true,
  "code": "0",
  "message": "操作成功",
  "data": [
    {
      "id": 305184978,
      "date": "2021-08-14",
      "clockedTime": "10:00:00",
      "identification": "142303*****120",
      "groupId": 5024802,
      "teamId": 0,
      "workTypeCode": "0003B19",
      "companyId": 5006872,
      "vendorId": 521319341780992,
      "projectWorkerId": 5069990,
      "laborWorkerId": 5094906,
      "calculate": 1,
      "deviceCode": "20200507002",
      "workerId": 5109680,
      "workerName": "张雅",
      "scanPhoto": null,
      "clockTypeDesc": "补刷卡",
      "clockType": "REPAIR",
      "platformGroupId": 521319835320320,
      "platformTeamId": null,
      "temperature": null,
      "icCard": null,
      "hatCode": "",
      "regionId": 5000010,
      "regionName": "施工区A区",
      "workPointId": 5001712,
      "workPointName": "A区-闸机人脸",
      "segmentId": null,
      "segmentName": null,
      "areaId": null,
      "areaName": null,
      "longitude": null,
      "latitude": null,
      "inOutType": "OUT",
      "deviceType": "SUPPLEMENT"
    },
    {
      "id": 305184987,
      "date": "2021-08-16",
      "clockedTime": "23:00:00",
      "identification": "142303*****120",
      "groupId": 5024802,
      "teamId": 0,
      "workTypeCode": "0003B19",
      "companyId": 5006872,
      "vendorId": 521319341780992,
      "projectWorkerId": 5069990,
      "laborWorkerId": 5094906,
      "calculate": 1,
      "deviceCode": "20200507002",
      "workerId": 5109680,
      "workerName": "张雅",
      "scanPhoto": null,
      "clockTypeDesc": "补刷卡",
      "clockType": "REPAIR",
      "platformGroupId": 521319835320320,
      "platformTeamId": null,
      "temperature": null,
      "icCard": null,
      "hatCode": "",
      "regionId": 5000010,
      "regionName": "施工区A区",
      "workPointId": 5001712,
      "workPointName": "A区-闸机人脸",
      "segmentId": null,
      "segmentName": null,
      "areaId": null,
      "areaName": null,
      "longitude": null,
      "latitude": null,
      "inOutType": "OUT",
      "deviceType": "SUPPLEMENT"
    },
  ]
}

返回字段说明

字段 字段名称 字段格式 备注
id 打卡id Long
date 打卡日期 String
clockedTime 打卡时间 String
identification 身份证号 String
groupId 班组Id Long
platformGroupId 平台对应班组Id Long
teamId 队伍id Long 外键,对应队伍信息的Id
platformTeamId 平台对应队伍id Long
workTypeCode 工种编码 String
companyId 分包商id Long
vendorId 平台对应分包商ID Long
projectWorkerId 项目工人ID Long
laborWorkerId 项目工人履历ID Long
calculate 是否计算工时 Integer 1计算工时,0不计算,默认计算,新产品返回都是1
deviceCode 设备编号 String
deviceType 设备类型 String
workerId 工人Id Long
workerName 工人姓名 String
scanPhoto 打卡照片 String
clockTypeDesc 打卡类型描述 String
clockType 打卡类型 String
temperature 测温数据 BigDecimal
icCard ic卡号 String
hatCode 安全帽编号 String
regionId 工区id Long
regionName 工区名称 String
workPointId 部位id Long
workPointName 部位名称 String
segmentId 围栏id Long
segmentName 围栏名称 String
areaId 工区id Long
areaName 工区名称 String
longitude 经度 BigDecimal
latitude 纬度 BigDecimal
inOutType 进出类型 String IN进,OUT出