🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
>[info] 查询排班打卡结果 调用本接口,根据排班ID查询对应的打卡结果。 调用本接口,可查询排班打卡结果,获取考勤类型、计划打卡时间、最后更新时间等信息。 **官方文档地址:** [链接](https://open.dingtalk.com/document/orgapp-server/query-the-results-of-a-batch-of-tasks) ***** * 代码: ~~~ $op_user_id = 'manager3451'; $schedule_ids = '1xxx4456xx2,22xxxxxx6sa'; $res = Schedule::listByIds($op_user_id, $schedule_ids); echo $res; ~~~ * 返回: ``` { "errcode": 0, "errmsg":"ok", "result": [ { "base_check_time": "2020-11-11 19:03:00", "check_type": "OnDuty", "corp_id": "dingxxxxx1c1", "gmt_create": "2020-11-11 19:03:21", "gmt_modified": "2020-11-11 19:03:21", "group_id": 67xxxx4, "id": 11xxxx19, "is_legal": "Y", "location_result": "Normal", "plan_check_time": "2020-11-11 19:03:20", "record_id": 48xxxx644, "schedule_id": 16xxxx812, "time_result": "Normal", "user_check_time": "2020-11-11 19:03:20", "user_id": "user456", "work_date": "2020-11-11 00:00:00" } ], "success": true, "request_id": "6k9c3cvix353" } ```