功能说明:获取到考勤日报信息
请求方式:POST(HTTPS)
请求地址:https://qwif.do1.com.cn/qwcgi/api/checkwork/getCheckDetailDataList.do?token=token&corpId=corpId
{ "checkWorkId":"8c87bfa6-8c60-4c6f-9014-7da25b2c5787", "currentPage":"1", "endTime":"20161129103700", "pageSize":"100", "startTime":"20161029103700" }
参数 |
说明 |
类型 |
是否必须 |
备注 |
---|---|---|---|---|
token |
用于验证 |
String |
是 |
|
corpId |
公司唯一标识 |
String |
是 |
|
checkWorkId |
规则id(规则接口获取) |
String |
是 |
否 |
startTime |
开始时间 |
String |
是 |
|
endTime |
结束时间 |
String |
是 |
|
currentPage |
当前版本的页数 |
String |
是 |
|
pageSize |
每页数 |
String |
否 |
每页默认100 |
//创建请求的参数 CheckWorkDailyListVO vo = new CheckWorkDailyListVO(); //设置规则id vo.setCheckWorkId("a601091be0d1875ce0321b9ca5009dbb"); //设置开始时间 vo.setStartTime("20180526003700"); //设置结束时间 vo.setEndTime("20180626233700"); //设置获取第几页 vo.setCurrentPage("1"); //设置每页数量 vo.setPageSize("100"); //调用接口 CheckWorkApi api = QwSdkUtil.getInter(CheckWorkApi.class); api.getCheckDetailDataList(QwSdkUtil.getCacheToken(), vo);
{ "code":"0", "data": { "currPage":1, "maxPage":80862, "pageData": [ { "absWorkNum":0, "absWorkNumDesc":"-", "absWorkTime":" ", "addWorkTime":"-", "askBusDate":" ", "askDate":" ", "askDesc":"-", "askOrOutWork":false, "askTime":" ", "busAskDesc":"-", "busAskTime":" ", "checkIsAbsWork":0, "checkWorkId":" ", "checkWorkName":"勿删-huangchanjiao-全弹", "countTime":"0", "createTime":" ", "dayCountTime":" ", "departmentId":" ", "departmentName":"$departmentName=4509$;$departmentName=4683$", "headPic":" ", "historyWorkHour":0, "id":"7946350dbc1dd5b80eb7cc15d95db310", "infoId":"7946350dbc1dd5b80eb7cc15d95db310", "lateNum":0, "lateTime":0, "lateTimeDetailed":"-", "leaveNum":0, "leaveTime":0, "leaveTimeDetailed":"-", "orgId":" ", "outWorkNum":0, "outWorkNumDesc":"-", "outWorkTime":" ", "personName":"huangchanjiaohuangchanjiaohuangchanjiaohuangchanji", "position":" ", "repDesc":"-", "repDescTitle":"-", "repInfo":" ", "repStatus":0, "roleNum":0, "roleSignTimeSlot":"09:00 - 18:00", "signDate":"2022-08-11 周四", "signStatus":"2", "signStatusDateDesc":"异常", "signStatusDesc":" ", "signStatusDetailed":" ", "signStatusDetailedNum":"1,0", "signStatusDetailedall":" ", "signTimeSlot":"11:49", "signType":" ", "userId":"36e878fe9e1a78a7bcdbad5f53a25b2f", "whetherAsk":0, "whetherBusAsk":0, "workId":"1311112505", "workTime":" ", "workType":0, "workTypeDesc":"工作日", "wxUserId":"huangchanjiao" } ], "pageSize":1, "totalRows":80862 }, "desc":"成功" }
参数 | 说明 |
---|---|
absWorkNum | 旷工次数 |
absWorkNumDesc | 旷工次数描述 |
absWorkTime | 旷工时长 |
addWorkTime | 加班时长 |
askBusDate | 0:出差天数 |
askDate | 0:请假天数 |
askDesc | 请假明细 |
askTime | 请假时长 |
busAskDesc | 出差明细 |
busAskTime | 出差时长 |
checkIsAbsWork | 当天是否旷工(0:是;2:否) |
checkWorkId | 规则id |
checkWorkName | 规则名称 |
countTime | 考勤总时长 |
createTime | 创建时间"yyyy-MM-ddHH:mm:ss" |
dayCountTime | 当日工作时长 |
departmentId | 部门id |
departmentName | 部门名称 |
headPic | 用户头像 |
historyWorkHour | 记录默认工作时长 |
id | id |
infoId | 统计记录id |
isAskOrOutWork | 是否有请假出差外勤(true/false) |
lateNum | 迟到次数 |
lateTime | 迟到时长 |
lateTimeDetailed | 迟到时长明细 |
leaveNum | 早退次数 |
leaveTime | 早退时长 |
leaveTimeDetailed | 早退时长明细 |
orgId | 组织id |
outWorkNum | 外勤次数 |
outWorkNumDesc | 外勤次数描述 |
outWorkTime | 外勤明细 |
personName | 用户名称 |
position | 职位 |
repDesc | 申述情况 |
repDescTitle | 申述明细数据(页面显示在title里面的) |
repInfo | 申述明细数据 |
repStatus | 是否已申述通过(0:否;1:是) |
roleNum | 规则签到签退数 |
roleSignTimeSlot | 考勤时间段 |
signDate | 考勤日期"yyyy-MM-dd" |
signStatus | 考勤状态 |
signStatusDateDesc | 当日考勤状态描述 |
signStatusDesc | 当日所有考勤状态描述 |
signStatusDetailed | 考勤状态明细 |
signStatusDetailedall | 所有考勤状态明细 |
signStatusDetailedNum | 考勤明细状态(数字代表) |
signTimeSlot | 签到签退时间 |
signType | 0:正常考勤生成的数据;1:查询未考勤时,系统默认生成的未考勤记录 |
userId | 用户id |
whetherAsk | 是否请假0没有1有 |
whetherBusAsk | 是否出差0没有1有 |
workId | 用户工号 |
workTime | 工作日总时长 |
workType | 0:工作日的考勤;1:非工作日考勤 |
workTypeDesc | 0:工作日的考勤;1:非工作日考勤(描述) |
wxUserId | 用户微信id |