Files
37duAutomation/aa.md
T
puddy 60112ad367 feat: 新增打卡明细接口支持,优化加班校验逻辑
1. 新增打卡明细接口封装,支持单页查询与自动分页获取员工真实打卡记录
2. 重构加班校验逻辑,使用打卡明细接口替代原考勤逐日接口的打卡字段,解决跨天打卡归属错误问题
3. 移除过时的打卡时间解析与单条打卡修正逻辑,简化代码维护
4. 优化OA登录脚本,新增requests依赖并完善会话校验逻辑
5. 新增钉钉群机器人推送通用模块,支持多场景通知推送
2026-08-18 13:35:11 +08:00

8.3 KiB

{ "code" : 200, "message" : "操作成功", "data" : { "total" : 34, "start" : 1, "pageCount" : 5, "list" : [ { "id" : "3ca6c81c7c5d44dda8c52a640c646fea", "staff_id" : "567a66fd-7a9f-11ec-b449-000c296f9469", "kq_time" : "2026-08-18 08:54:44", "status" : "1", "addr_status" : "0", "time_order" : "1", "pb_id" : "CJDE220960286", "time_id" : "", "kq_type" : "9", "comp_id" : "b9cee736-cef2-11ee-b449-000c296f9469", "kq_bc_id" : "de1daf426e7f4fa6916f3012434e8973", "dept_id" : "8daffc5d-0ce1-4fd5-b485-3edfbcd4cb78", "status_time" : null, "team_id" : "355945ef0e894881a21980b79b7dfbf1", "bc_type" : null, "work_date_id" : null, "bc_date" : "2026-08-18", "create_time" : "2026-08-18 08:56:14", "address" : "总部-考勤-库房", "staff_name" : "余陈斌", "varchar1" : null, "operate_time" : "2026-08-18 08:56:14", "Longitude" : null, "Latitude" : null, "DEPT_ORG_NAME" : "物流小组", "POST_ALIAS_NAME" : "车队长", "Content" : null, "ssid" : null, "mac" : null }, { "id" : "ab6fd17b0898452a971b17402d5f64a3", "staff_id" : "567a66fd-7a9f-11ec-b449-000c296f9469", "kq_time" : "2026-08-18 00:03:00", "status" : "5", "addr_status" : "0", "time_order" : "2", "pb_id" : "CJDE211661047", "time_id" : "", "kq_type" : "9", "comp_id" : "b9cee736-cef2-11ee-b449-000c296f9469", "kq_bc_id" : "de1daf426e7f4fa6916f3012434e8973", "dept_id" : "8daffc5d-0ce1-4fd5-b485-3edfbcd4cb78", "status_time" : null, "team_id" : "355945ef0e894881a21980b79b7dfbf1", "bc_type" : null, "work_date_id" : null, "bc_date" : "2026-08-17", "create_time" : "2026-08-18 00:11:14", "address" : "总部-考勤-前厅", "staff_name" : "余陈斌", "varchar1" : "1", "operate_time" : "2026-08-18 03:05:06", "Longitude" : null, "Latitude" : null, "DEPT_ORG_NAME" : "物流小组", "POST_ALIAS_NAME" : "车队长", "Content" : null, "ssid" : null, "mac" : null }, { "id" : "f0f1ae065fa447c99d45ca3ae4d4b31d", "staff_id" : "567a66fd-7a9f-11ec-b449-000c296f9469", "kq_time" : "2026-08-17 08:45:46", "status" : "1", "addr_status" : "0", "time_order" : "1", "pb_id" : "CJDE220960286", "time_id" : "", "kq_type" : "9", "comp_id" : "b9cee736-cef2-11ee-b449-000c296f9469", "kq_bc_id" : "de1daf426e7f4fa6916f3012434e8973", "dept_id" : "8daffc5d-0ce1-4fd5-b485-3edfbcd4cb78", "status_time" : null, "team_id" : "355945ef0e894881a21980b79b7dfbf1", "bc_type" : null, "work_date_id" : null, "bc_date" : "2026-08-17", "create_time" : "2026-08-17 08:51:04", "address" : "总部-考勤-库房", "staff_name" : "余陈斌", "varchar1" : "1", "operate_time" : "2026-08-18 03:05:06", "Longitude" : null, "Latitude" : null, "DEPT_ORG_NAME" : "物流小组", "POST_ALIAS_NAME" : "车队长", "Content" : null, "ssid" : null, "mac" : null }, { "id" : "041e3ebdab964131ab32b7238b5efd0c", "staff_id" : "567a66fd-7a9f-11ec-b449-000c296f9469", "kq_time" : "2026-08-16 21:04:08", "status" : "5", "addr_status" : "0", "time_order" : "2", "pb_id" : "CJDE220960286", "time_id" : "", "kq_type" : "9", "comp_id" : "b9cee736-cef2-11ee-b449-000c296f9469", "kq_bc_id" : "de1daf426e7f4fa6916f3012434e8973", "dept_id" : "8daffc5d-0ce1-4fd5-b485-3edfbcd4cb78", "status_time" : null, "team_id" : "355945ef0e894881a21980b79b7dfbf1", "bc_type" : null, "work_date_id" : null, "bc_date" : "2026-08-16", "create_time" : "2026-08-16 21:06:03", "address" : "总部-考勤-库房", "staff_name" : "余陈斌", "varchar1" : "1", "operate_time" : "2026-08-17 09:19:00", "Longitude" : null, "Latitude" : null, "DEPT_ORG_NAME" : "物流小组", "POST_ALIAS_NAME" : "车队长", "Content" : null, "ssid" : null, "mac" : null }, { "id" : "2f001d7f3795468fb071585cc3a2ed38", "staff_id" : "567a66fd-7a9f-11ec-b449-000c296f9469", "kq_time" : "2026-08-16 08:49:19", "status" : "1", "addr_status" : "0", "time_order" : "1", "pb_id" : "CJDE220960286", "time_id" : "", "kq_type" : "9", "comp_id" : "b9cee736-cef2-11ee-b449-000c296f9469", "kq_bc_id" : "de1daf426e7f4fa6916f3012434e8973", "dept_id" : "8daffc5d-0ce1-4fd5-b485-3edfbcd4cb78", "status_time" : null, "team_id" : "355945ef0e894881a21980b79b7dfbf1", "bc_type" : null, "work_date_id" : null, "bc_date" : "2026-08-16", "create_time" : "2026-08-16 08:51:15", "address" : "总部-考勤-库房", "staff_name" : "余陈斌", "varchar1" : "1", "operate_time" : "2026-08-17 09:19:00", "Longitude" : null, "Latitude" : null, "DEPT_ORG_NAME" : "物流小组", "POST_ALIAS_NAME" : "车队长", "Content" : null, "ssid" : null, "mac" : null }, { "id" : "3ece02fb14834c7997fe22742f446782", "staff_id" : "567a66fd-7a9f-11ec-b449-000c296f9469", "kq_time" : "2026-08-15 19:36:58", "status" : "5", "addr_status" : "0", "time_order" : "2", "pb_id" : "CJDE211661047", "time_id" : "", "kq_type" : "9", "comp_id" : "b9cee736-cef2-11ee-b449-000c296f9469", "kq_bc_id" : "de1daf426e7f4fa6916f3012434e8973", "dept_id" : "8daffc5d-0ce1-4fd5-b485-3edfbcd4cb78", "status_time" : null, "team_id" : "355945ef0e894881a21980b79b7dfbf1", "bc_type" : null, "work_date_id" : null, "bc_date" : "2026-08-15", "create_time" : "2026-08-15 19:41:00", "address" : "总部-考勤-前厅", "staff_name" : "余陈斌", "varchar1" : "1", "operate_time" : "2026-08-17 12:09:01", "Longitude" : null, "Latitude" : null, "DEPT_ORG_NAME" : "物流小组", "POST_ALIAS_NAME" : "车队长", "Content" : null, "ssid" : null, "mac" : null }, { "id" : "1104cbe2cc1247f9b55e3c0e53daf53a", "staff_id" : "567a66fd-7a9f-11ec-b449-000c296f9469", "kq_time" : "2026-08-15 10:46:42", "status" : "1", "addr_status" : "0", "time_order" : "1", "pb_id" : "CJDE220960286", "time_id" : "", "kq_type" : "9", "comp_id" : "b9cee736-cef2-11ee-b449-000c296f9469", "kq_bc_id" : "de1daf426e7f4fa6916f3012434e8973", "dept_id" : "8daffc5d-0ce1-4fd5-b485-3edfbcd4cb78", "status_time" : null, "team_id" : "355945ef0e894881a21980b79b7dfbf1", "bc_type" : null, "work_date_id" : null, "bc_date" : "2026-08-15", "create_time" : "2026-08-15 10:51:00", "address" : "总部-考勤-库房", "staff_name" : "余陈斌", "varchar1" : "1", "operate_time" : "2026-08-17 12:09:00", "Longitude" : null, "Latitude" : null, "DEPT_ORG_NAME" : "物流小组", "POST_ALIAS_NAME" : "车队长", "Content" : null, "ssid" : null, "mac" : null }, { "id" : "37883245622e4821a9a54907e15db3fc", "staff_id" : "567a66fd-7a9f-11ec-b449-000c296f9469", "kq_time" : "2026-08-14 20:30:35", "status" : "5", "addr_status" : "0", "time_order" : "2", "pb_id" : "CJDE220960286", "time_id" : "", "kq_type" : "9", "comp_id" : "b9cee736-cef2-11ee-b449-000c296f9469", "kq_bc_id" : "de1daf426e7f4fa6916f3012434e8973", "dept_id" : "8daffc5d-0ce1-4fd5-b485-3edfbcd4cb78", "status_time" : null, "team_id" : "355945ef0e894881a21980b79b7dfbf1", "bc_type" : null, "work_date_id" : null, "bc_date" : "2026-08-14", "create_time" : "2026-08-14 20:36:00", "address" : "总部-考勤-库房", "staff_name" : "余陈斌", "varchar1" : "1", "operate_time" : "2026-08-17 14:50:01", "Longitude" : null, "Latitude" : null, "DEPT_ORG_NAME" : "物流小组", "POST_ALIAS_NAME" : "车队长", "Content" : null, "ssid" : null, "mac" : null } ] }, "des" : null, "errStack" : null, "success" : true }