feat: 新增部门排班查询接口与排班异常校验优化

1. 新增按部门查询排班集合的接口能力,替换原模糊匹配排班名的校验逻辑
2. 新增门店技师序列的排除规则,优化异常判定范围
3. 修复导入统计分页截断问题,完善全量数据抓取逻辑
4. 更新钉钉推送模板与测试账号配置
5. 补全离职电子签流程相关文档
This commit is contained in:
2026-08-31 16:24:25 +08:00
parent 2daa1cd5a0
commit ed65b7c5ee
20 changed files with 905 additions and 216 deletions
@@ -52,9 +52,7 @@ _SESSIONS_DIR = os.path.join(_APP_DATA_DIR, '.sessions')
SHARED_HR_COOKIE_FILE = os.path.join(_SESSIONS_DIR, 'hr_cookies.json')
# 调动台账页地址 & 导出模板(与 app/service/hrbp/ehr/common/config.py 一致)
TRANSFER_ROSTER_URL = ("https://hr.37du.co/RedseaPlatform/PtPortal.mc?method=classic#ajax&1&nworktoday-40175-24311-01818-39687"
"&nworktoday-40175-24311|/RedseaPlatform/hrRoster/1123d951-b094-11ea-b588-14187743d052/"
"getCustomCommonList.mc?clickFlag=true&treePermitType=permit&useSealTreeData=0&menuName=%E8%B0%83%E5%8A%A8%E5%8F%B0%E8%B4%A6")
TRANSFER_ROSTER_URL = ("https://hr.37du.co/RedseaPlatform/PtPortal.mc?method=classic#ajax&1&nworktoday-40175-24311-01818-39687&nworktoday-40175-24311|/RedseaPlatform/hrRoster/1123d951-b094-11ea-b588-14187743d052/getCustomCommonList.mc?clickFlag=true&treePermitType=permit&useSealTreeData=0&menuName=%E8%B0%83%E5%8A%A8%E5%8F%B0%E8%B4%A6")
TEMPLATE_SHIFT_ABNORMAL = "排班异常识别导出"
# 流程步骤所用文案常量(aa.md 提供)