feat: 新增考勤异常模块、银行卡校验、OCR附件检测等功能

1. 新增考勤异常查询与导出模块,支持当月异常拉取、Excel导出、钉钉推送提醒
2. 完善请假/加班流程解析与校验,新增附件下载、OCR核验能力
3. 新增银行卡信息校验模块,支持在职/离职员工工资卡数据核对与异常导出
4. 新增通用OCR工具模块,支持病假/婚假/产检假附件关键词检测与日期提取
5. 新增门店请休假异常名单、银行卡检查等需求文档
6. 重构部分现有模块代码,优化配置与接口调用逻辑
7. 新增测试文件与工具类,完善项目基础能力
This commit is contained in:
2026-08-11 17:26:24 +08:00
parent 7e46b5cc06
commit 9927066abb
30 changed files with 2749 additions and 189 deletions
+2 -1
View File
@@ -1105,7 +1105,8 @@ def _read_abnormal(xlsx_path, label):
headers = [str(h) if h is not None else "" for h in rows[0]]
emp_col = next((i for i, h in enumerate(headers) if "工号" in h), None)
res_col = headers.index(SI_RESULT_COL)
name_col = next((i for i, h in enumerate(headers) if h in ("申请人", "停保人姓名")), None)
name_candidates = ("参保人",) if label == "参保" else ("停保人姓名",)
name_col = next((i for i, h in enumerate(headers) if h in name_candidates), None)
abnormal = []
for r in rows[1:]:
val = r[res_col] if res_col < len(r) else ""