feat: 新增轻量会话校验能力,优化登录态失效处理流程
1. 新增TODO_COUNT_URL轻量接口用于快速校验会话有效性 2. 定义OALoginExpiredError统一标识登录态失效异常 3. 重构会话校验逻辑,使用轻量接口替代拉取待办页校验 4. 为重试装饰器添加不重试异常配置,登录失效直接上抛 5. 全流程增加登录态失效自动重登机制,最多重试2次 6. 新增通用钉钉机器人推送工具类
This commit is contained in:
@@ -1,163 +1,44 @@
|
||||
员工排班
|
||||
|
||||
Request URL
|
||||
【加班审批】本次共审批 15 条加班申请。
|
||||
|
||||
https://hr.37du.co/RedseaPlatform/redmagicapi/rf_p_kq_count_SelectBanci/getExecutePageResult.mc
|
||||
通过 12 条,分别是:
|
||||
|
||||
Request Method
|
||||
集团管理中心李泽燕发起李泽燕的加班申请-延时加班
|
||||
|
||||
POST
|
||||
集团管理中心张晶晶发起张晶晶的加班申请-延时加班
|
||||
|
||||
treecode=cq37du&user_id=07b83185-6243-42bc-b79f-b81b4cffb471&sqlId=kq_count_SelectBanci&commonQuery=&commonQueryStr=&staff_ids=&person_status=1%2C4&post_no=&post_type=1&post_level=&identity=&showType=1&dateType=1&begin=2026-08-10&end=2026-08-16&bc_date=2026-08-14&base_code=37031376&staff_name=&start=0&sortType=&sortName=&pageNo=1&pageSize=15
|
||||
财务管理部张艳发起张艳的加班申请-延时加班
|
||||
|
||||
{
|
||||
"attributeMap": null,
|
||||
"count": 1,
|
||||
"datas": [
|
||||
{
|
||||
"staff_id": "70023bb2-a362-438c-ba46-2f165c502351",
|
||||
"work_day": "2026-08-10",
|
||||
"paiban_type": "-2",
|
||||
"priority": "0",
|
||||
"team_id": "355945ef0e894881a21980b79b7dfbf1",
|
||||
"bc_id": "de1daf426e7f4fa6916f3012434e8973",
|
||||
"sb_type": 0,
|
||||
"xb_type": 0,
|
||||
"begin_time": "09:00",
|
||||
"end_time": "18:00",
|
||||
"yq_total_min": 480,
|
||||
"change_value_day": 1.0,
|
||||
"remark": "",
|
||||
"team_name": "集团本部职能",
|
||||
"STAFF_ID": "70023bb2-a362-438c-ba46-2f165c502351",
|
||||
"STAFF_NAME": "郑荣斌",
|
||||
"base_code": "37031376",
|
||||
"join_date": "2025-10-15",
|
||||
"leaveOffice_date": null,
|
||||
"Regular_Time": "2026-01-15",
|
||||
"person_status": "1",
|
||||
"staff_status": "1",
|
||||
"identity": "1",
|
||||
"idCard": "500242********3177",
|
||||
"STRU_ID": "bfaf2462-a96f-11f0-a0a5-000c296f9469",
|
||||
"dept_one": null,
|
||||
"dept_two": null,
|
||||
"POST_LEVEL_ID": "8fdd4d7d-648d-11ec-b526-822ff8ed5b28",
|
||||
"POST_LEVEL_NAME": "总监",
|
||||
"DEPT_ORG_ONE": null,
|
||||
"DEPT_ORG_TWO": null,
|
||||
"DEPT_ORG_THREE": null,
|
||||
"DEPT_ORG_FOUR": null,
|
||||
"DEPT_ORG_FIVE": null,
|
||||
"POST_ALIAS": "财务总监",
|
||||
"POST_ORG_NAME": "财务总监",
|
||||
"BELONG_UNIT_STRU_ID": "e451622b-8be5-11f1-a7d9-000c296f9469",
|
||||
"BELONG_UNIT_ORG_NAME": "财务管理部",
|
||||
"DEPT_STRU_ID": "e451622b-8be5-11f1-a7d9-000c296f9469",
|
||||
"DEPT_ORG_NAME": "财务管理部",
|
||||
"POST_NO": "231",
|
||||
"POST_ALIAS_NAME": "财务总监",
|
||||
"ORG_FULL_PATH": "集团-财务管理部",
|
||||
"hrext_hsb_ext_speciality": null,
|
||||
"hrext_ext_technician_code": null,
|
||||
"hrext_ext_cal_person2": "",
|
||||
"hrext_ext_call_phone2": "",
|
||||
"hrext_ext_star_level": "正式",
|
||||
"hrext_ext_rehiring_reason_type": "",
|
||||
"hrext_ext_staff_type": "职能高层管理",
|
||||
"hrext_ext_insurance_type": "社会保险",
|
||||
"hrext_ext_recruit_way": "BOSS直聘",
|
||||
"hrext_ext_call_relationship2": "",
|
||||
"hrext_ext_is_CRBT_open": "",
|
||||
"hrext_ext_dept_principal": "",
|
||||
"hrext_ext_yb_pay_year": "",
|
||||
"hrext_ext_Have_worked": "",
|
||||
"hrext_ext_family_join": "否",
|
||||
"hrext_ext_criminal_record": "否",
|
||||
"hrext_ext_infectious_disease": "否",
|
||||
"hrext_ext_References": "",
|
||||
"hrext_ext_References_phone": "",
|
||||
"hrext_ext_References_outside": "",
|
||||
"hrext_ext_outside_References_phone": "",
|
||||
"hrext_ext_is_dormitory": "否",
|
||||
"hrext_ext_process_approval_status": "",
|
||||
"hrext_ext_trans_type": "其他",
|
||||
"bc_name": "职能正班A",
|
||||
"2026-08-10_bc_id": "de1daf426e7f4fa6916f3012434e8973",
|
||||
"2026-08-10_bc_name": "职能正班A",
|
||||
"2026-08-10_bc_time": "09:00 ~ 18:00",
|
||||
"2026-08-10_paiban_type": "-2",
|
||||
"2026-08-10_remark": "",
|
||||
"2026-08-10_team_name": "集团本部职能",
|
||||
"2026-08-10_team_id": "355945ef0e894881a21980b79b7dfbf1",
|
||||
"2026-08-10_sb_type": 0,
|
||||
"2026-08-10_xb_type": 0,
|
||||
"2026-08-11_bc_id": "de1daf426e7f4fa6916f3012434e8973",
|
||||
"2026-08-11_bc_name": "职能正班A",
|
||||
"2026-08-11_bc_time": "09:00 ~ 18:00",
|
||||
"2026-08-11_paiban_type": "-2",
|
||||
"2026-08-11_remark": "",
|
||||
"2026-08-11_team_name": "集团本部职能",
|
||||
"2026-08-11_team_id": "355945ef0e894881a21980b79b7dfbf1",
|
||||
"2026-08-11_sb_type": 0,
|
||||
"2026-08-11_xb_type": 0,
|
||||
"2026-08-12_bc_id": "de1daf426e7f4fa6916f3012434e8973",
|
||||
"2026-08-12_bc_name": "职能正班A",
|
||||
"2026-08-12_bc_time": "09:00 ~ 18:00",
|
||||
"2026-08-12_paiban_type": "-2",
|
||||
"2026-08-12_remark": "",
|
||||
"2026-08-12_team_name": "集团本部职能",
|
||||
"2026-08-12_team_id": "355945ef0e894881a21980b79b7dfbf1",
|
||||
"2026-08-12_sb_type": 0,
|
||||
"2026-08-12_xb_type": 0,
|
||||
"2026-08-13_bc_id": "de1daf426e7f4fa6916f3012434e8973",
|
||||
"2026-08-13_bc_name": "职能正班A",
|
||||
"2026-08-13_bc_time": "09:00 ~ 18:00",
|
||||
"2026-08-13_paiban_type": "-2",
|
||||
"2026-08-13_remark": "",
|
||||
"2026-08-13_team_name": "集团本部职能",
|
||||
"2026-08-13_team_id": "355945ef0e894881a21980b79b7dfbf1",
|
||||
"2026-08-13_sb_type": 0,
|
||||
"2026-08-13_xb_type": 0,
|
||||
"2026-08-14_bc_id": "de1daf426e7f4fa6916f3012434e8973",
|
||||
"2026-08-14_bc_name": "职能正班A",
|
||||
"2026-08-14_bc_time": "09:00 ~ 18:00",
|
||||
"2026-08-14_paiban_type": "-2",
|
||||
"2026-08-14_remark": "",
|
||||
"2026-08-14_team_name": "集团本部职能",
|
||||
"2026-08-14_team_id": "355945ef0e894881a21980b79b7dfbf1",
|
||||
"2026-08-14_sb_type": 0,
|
||||
"2026-08-14_xb_type": 0,
|
||||
"2026-08-15_bc_id": "4",
|
||||
"2026-08-15_bc_name": "休息",
|
||||
"2026-08-15_bc_time": "",
|
||||
"2026-08-15_paiban_type": "0",
|
||||
"2026-08-15_remark": "",
|
||||
"2026-08-15_team_name": "集团本部职能",
|
||||
"2026-08-15_team_id": "355945ef0e894881a21980b79b7dfbf1",
|
||||
"2026-08-15_sb_type": "",
|
||||
"2026-08-15_xb_type": "",
|
||||
"2026-08-16_bc_id": "4",
|
||||
"2026-08-16_bc_name": "休息",
|
||||
"2026-08-16_bc_time": "",
|
||||
"2026-08-16_paiban_type": "0",
|
||||
"2026-08-16_remark": "",
|
||||
"2026-08-16_team_name": "集团本部职能",
|
||||
"2026-08-16_team_id": "355945ef0e894881a21980b79b7dfbf1",
|
||||
"2026-08-16_sb_type": "",
|
||||
"2026-08-16_xb_type": "",
|
||||
"total_hours": 40.0,
|
||||
"total_day": 5
|
||||
}
|
||||
],
|
||||
"pageSize": 15,
|
||||
"start": 0,
|
||||
"pageNo": 1,
|
||||
"pageCount": 1,
|
||||
"allDatas": null,
|
||||
"url": null,
|
||||
"state": "1",
|
||||
"meg": "",
|
||||
"des": "",
|
||||
"viewMapper": null
|
||||
}
|
||||
财务管理部向英发起向英的加班申请-休息日加班
|
||||
|
||||
财务管理部李阳发起李阳的加班申请-延时加班
|
||||
|
||||
财务管理部梁鲜香发起梁鲜香的加班申请-休息日加班
|
||||
|
||||
集团营建中心任毅发起任毅的加班申请-休息日加班
|
||||
|
||||
集团营建中心任川发起任川的加班申请-延时加班
|
||||
|
||||
集团管理中心周平发起周平的加班申请-延时加班
|
||||
|
||||
财务管理部黎小念发起黎小念的加班申请-休息日加班
|
||||
|
||||
集团营建中心夏彬晶发起夏彬晶的加班申请-延时加班
|
||||
|
||||
集团营建中心罗莉萍发起罗莉萍的加班申请-延时加班
|
||||
|
||||
自动驳回 1 条,分别是:
|
||||
|
||||
财务管理部张艳发起张艳的加班申请-延时加班
|
||||
|
||||
驳回原因:加班开始日期(2026-08-05)与申请加班日期(2026-08-04)不一致;申请结束时间(21:30)晚于实际下班打卡时间(20:12:33)
|
||||
|
||||
超期待人资处理 2 条,分别是:
|
||||
|
||||
财务管理部张艳发起张艳的加班申请-休息日加班
|
||||
|
||||
处理原因:加班日期(2026-08-02)距今超过8天审核周期,不再审核
|
||||
|
||||
财务管理部张艳发起张艳的加班申请-延时加班
|
||||
|
||||
处理原因:加班日期(2026-08-03)距今超过8天审核周期,不再审核
|
||||
|
||||
Reference in New Issue
Block a user