feat(xq0084): 导入前先查工资卡并去重回写(v0.3.0)
This commit is contained in:
@@ -5,8 +5,9 @@
|
||||
1) 读取 AI 表格「银行卡-变更收集表」,只取「是否更新HR系统」为空或「否」的记录;
|
||||
2) 下载银行卡卡号面照片、持卡人身份证照片;
|
||||
3) cardreader 识别卡号/身份证号/姓名/开户银行,与表格登记值比对;
|
||||
4) 关闭试算模式时,核对通过的记录导入 HR「工资管理-工资卡管理」,成功后在 AI 表格回写
|
||||
「是否更新HR系统=是」;开启试算模式 = 只核对出表(不写 HR、不回写台账);
|
||||
4) 关闭试算模式时,先拉 HR「工资卡管理」台账比对:卡号已一致的记录不再重复导入、
|
||||
直接回写「是否更新HR系统=是」;其余核对通过的记录导入 HR 工资卡,成功后再回写;
|
||||
开启试算模式 = 只核对出表(不写 HR、不回写台账);
|
||||
5) 输出核对工作簿(核对结果 + 异常名单),识别不出或不一致的推送钉钉群提醒人事手动处理。
|
||||
|
||||
现金发放与委托发放记录不自动导入 HR,转人工处理。
|
||||
@@ -31,10 +32,11 @@ class BankCardEhrUpdatePlugin(ScenePlugin):
|
||||
|
||||
id = "xq0084"
|
||||
name = "银行卡更新EHR系统"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
description = ("读取人资 AI 表格「银行卡变更收集表」中「是否更新HR系统」为空或「否」的记录,"
|
||||
"下载银行卡与身份证照片识别卡号、身份证号、姓名、开户银行,"
|
||||
"与表格登记值比对;核对通过自动导入 HR 工资卡并回写「是否更新HR系统=是」,"
|
||||
"与表格登记值比对;先查 HR 工资卡,卡号已一致的直接回写「是否更新HR系统=是」,"
|
||||
"其余核对通过自动导入 HR 工资卡并回写;"
|
||||
"不一致或识别不出进异常名单提醒人事手动处理。")
|
||||
platform = "hr"
|
||||
uses_month = False
|
||||
@@ -119,8 +121,10 @@ class BankCardEhrUpdatePlugin(ScenePlugin):
|
||||
summary = ("银行卡变更核对{prefix}:共 {total} 条,通过 {passed} / 需人工 {manual} / "
|
||||
"现金发放 {cash}".format(prefix="(试算,未写 HR)" if dry_run else "", **stats))
|
||||
if hr.get("enabled"):
|
||||
summary += (";HR 工资卡导入成功 {imported} / 失败 {failed} / 跳过 {skipped},"
|
||||
"台账回写 {written}".format(**hr))
|
||||
summary += (";HR 工资卡导入成功 {imported} / 失败 {failed} / 跳过 {skipped} / "
|
||||
"已一致 {existing},台账回写 {written}".format(
|
||||
**{k: hr.get(k, 0) for k in
|
||||
("imported", "failed", "skipped", "existing", "written")}))
|
||||
summary += f"。文件:{result['path']}"
|
||||
detail = {
|
||||
"执行模式": "试算(只核对,不写 HR)" if dry_run else "核对并写 HR",
|
||||
@@ -138,6 +142,7 @@ class BankCardEhrUpdatePlugin(ScenePlugin):
|
||||
"HR导入成功": hr.get("imported", 0),
|
||||
"HR导入失败": hr.get("failed", 0),
|
||||
"HR导入跳过": hr.get("skipped", 0),
|
||||
"HR已一致": hr.get("existing", 0),
|
||||
"台账已回写": hr.get("written", 0),
|
||||
})
|
||||
return {"summary": summary, "detail": detail, "path": result["path"]}
|
||||
|
||||
@@ -72,8 +72,9 @@ def _ocr(id_no=ID, name="张三", card=CARD, bank="招商银行"):
|
||||
def _wage_row(**kw):
|
||||
base = {
|
||||
"conclusion": "通过", "trust": "", "emp_name": "张三", "holder": "张三",
|
||||
"table_bank": "招商银行", "table_branch": "深圳分行", "table_card": CARD,
|
||||
"table_id": ID, "record_id": "rec1", "hr_status": "", "hr_note": "",
|
||||
"emp_no": "37000001", "table_bank": "招商银行", "table_branch": "深圳分行",
|
||||
"table_card": CARD, "table_id": ID, "record_id": "rec1",
|
||||
"hr_status": "", "hr_note": "",
|
||||
}
|
||||
base.update(kw)
|
||||
return base
|
||||
@@ -89,6 +90,26 @@ def _wage_cases():
|
||||
return dedup
|
||||
|
||||
|
||||
def _existing_index(card=CARD, id_no=ID, code="37000001"):
|
||||
wage = importlib.import_module(f"{verify.__module__.rsplit('.', 2)[0]}.logic.wage")
|
||||
if not id_no:
|
||||
return wage.build_card_index([{"BANK_ACCOUNT": card, "base_code": code}])
|
||||
return wage.build_card_index([{"BANK_ACCOUNT": card, "CARD_IDCARD": id_no,
|
||||
"IDCARD": id_no, "base_code": code, "IS_MAIN": "主卡"}])
|
||||
|
||||
|
||||
def _existing_cases():
|
||||
"""导入前查 HR:卡号已一致 -> 不导入只回写;卡号不同/未命中 -> 照常导入。"""
|
||||
return [
|
||||
("HR已一致跳过导入", _wage_row(), _existing_index(), 0, "已一致", "无需重复导入"),
|
||||
("HR卡号不同要更新", _wage_row(), _existing_index(card=CARD_CCB), 1, "", "将更新为"),
|
||||
("HR无此人照常导入", _wage_row(), _existing_index(id_no="500228198001011234",
|
||||
code="37009999"), 1, "", ""),
|
||||
("HR按工号命中一致", _wage_row(), _existing_index(id_no=""), 0, "已一致", "无需重复导入"),
|
||||
("不查重走导入", _wage_row(), None, 1, "", ""),
|
||||
]
|
||||
|
||||
|
||||
def main():
|
||||
cases = [
|
||||
("全部一致", _item(), _ocr(), "通过"),
|
||||
@@ -139,7 +160,21 @@ def main():
|
||||
extra = f"{data_rows[0][:6]}…" if expect_n else row["hr_note"]
|
||||
print(f"{'OK ' if ok else 'FAIL'} 工资卡导入-{name}: 目标 {len(targets)} 条 {extra}")
|
||||
|
||||
print(f"完成:{len(cases) + len(_wage_cases()) - failed}/{len(cases) + len(_wage_cases())} 通过")
|
||||
for name, row, index, expect_n, expect_status, note_kw in _existing_cases():
|
||||
targets, data_rows = wage.build_wage_rows([row], index)
|
||||
guards = [
|
||||
len(targets) == expect_n,
|
||||
row["hr_status"] == expect_status,
|
||||
note_kw in (row["hr_note"] or ""),
|
||||
all(len(d) == 10 for d in data_rows),
|
||||
]
|
||||
ok = all(guards)
|
||||
failed += 0 if ok else 1
|
||||
print(f"{'OK ' if ok else 'FAIL'} HR查重-{name}: 目标 {len(targets)} 条 "
|
||||
f"状态「{row['hr_status'] or '-'}」{row['hr_note']}")
|
||||
|
||||
total = len(cases) + len(_wage_cases()) + len(_existing_cases())
|
||||
print(f"完成:{total - failed}/{total} 通过")
|
||||
return failed
|
||||
|
||||
|
||||
|
||||
@@ -60,6 +60,14 @@ WAGE_REMARK = "XQ0084 影像核对一致自动导入"
|
||||
WAGE_IMPORT_TIMEOUT = 300 # 等待 HR 导入结果秒数
|
||||
HR_TRUST_YES = "是" # 委托发放:工资卡关系与员工不一致,不自动导入
|
||||
|
||||
# ---------- 导入前查重:HR 已一致就不再重复导入(直接回写台账) ----------
|
||||
# 薪资管理-工资数据-工资卡管理列表接口(在职人员,分页 500/页;与 XQ0005 同一接口)
|
||||
WAGE_CARD_LIST_PATH = "/getPageAjax/HrStaffWageCard.mc"
|
||||
WAGE_CARD_PAGE_SIZE = 500
|
||||
WAGE_CARD_MAX_PAGES = 60 # 分页保护上限
|
||||
CHECK_EXISTING_CARD = True # 导入前先拉 HR 工资卡台账比对卡号
|
||||
HR_STATUS_EXISTING = "已一致" # HR 已有同一张卡:跳过导入,仅回写台账
|
||||
|
||||
# ==================== 输出 ====================
|
||||
DEFAULT_SAVE_DIR = r"D:\资料\人资\银行卡更新"
|
||||
RESULT_STEM = "银行卡变更核对结果"
|
||||
|
||||
@@ -23,8 +23,10 @@ def _push_text(rows, stats, path, hr=None):
|
||||
f"为否 **{stats['trigger'].get('否', 0)}**",
|
||||
]
|
||||
if hr and hr.get("enabled"):
|
||||
lines.append(f"- HR 工资卡导入:成功 **{hr['imported']}**、失败 **{hr['failed']}**、"
|
||||
f"跳过 **{hr['skipped']}**;台账已回写 **{hr['written']}** 条")
|
||||
lines.append(f"- HR 工资卡导入:成功 **{hr.get('imported', 0)}**、"
|
||||
f"失败 **{hr.get('failed', 0)}**、跳过 **{hr.get('skipped', 0)}**、"
|
||||
f"HR 已一致 **{hr.get('existing', 0)}**;"
|
||||
f"台账已回写 **{hr.get('written', 0)}** 条")
|
||||
manual = [r for r in rows if r["conclusion"] == "需人工核实"]
|
||||
if manual:
|
||||
lines.append(f"#### 需人工核实({len(manual)})")
|
||||
|
||||
@@ -1,14 +1,21 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""XQ0084 闭环层:核对通过记录导入 HR 工资卡,成功后回写 AI 表格。
|
||||
|
||||
调用链:``hr_sdk.wage_import.import_cards``(浏览器上下文 + WS 读结果)→
|
||||
按服务端 ``errorList.line`` 回填每条记录的导入结果 →
|
||||
对导入成功的记录把 AI 表格「是否更新HR系统」回写为「是」。
|
||||
导入前先查 HR「工资卡管理」台账:该员工在 HR 已有同一张卡(卡号一致)说明之前
|
||||
已经更新过,不再重复导入,直接回写 AI 表格「是否更新HR系统=是」;卡号不一致
|
||||
(有新卡待换)才走导入。
|
||||
|
||||
调用链:``hr_sdk`` 工资卡台账(在职分页)→ 建身份证/工号索引 →
|
||||
``build_wage_rows``(跳过已一致)→ ``hr_sdk.wage_import.import_cards``(浏览器上下文 +
|
||||
WS 读结果)→ 按服务端 ``errorList.line`` 回填每条记录的导入结果 →
|
||||
对已导入/已一致的记录把 AI 表格「是否更新HR系统」回写为「是」。
|
||||
|
||||
SDK 懒加载:hr_sdk 由执行机按 plugin.json.requires.sdks 挂载,不在模块顶层 import。
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import re
|
||||
|
||||
from .. import config
|
||||
|
||||
|
||||
@@ -16,12 +23,132 @@ def _log(msg, level="INFO"):
|
||||
config.log(msg, level)
|
||||
|
||||
|
||||
def build_wage_rows(rows):
|
||||
def _norm_card(value):
|
||||
"""卡号归一:只留数字(表格里可能带空格/横线)。"""
|
||||
return re.sub(r"\D", "", str(value or ""))
|
||||
|
||||
|
||||
def _norm_id(value):
|
||||
"""身份证归一:去空格/横线并转大写(尾位 x)。"""
|
||||
return re.sub(r"[\s\-]", "", str(value or "")).upper()
|
||||
|
||||
|
||||
def _norm_code(value):
|
||||
"""工号归一:去空白。"""
|
||||
return re.sub(r"\s", "", str(value or ""))
|
||||
|
||||
|
||||
def _is_main(value):
|
||||
return str(value or "").strip() in ("1", "主卡", "是", "true", "True")
|
||||
|
||||
|
||||
def _append(before, text):
|
||||
"""拼说明:已有备注在前,避免覆盖「HR 现有卡号…将更新为…」等上下文。"""
|
||||
return f"{before};{text}" if before else text
|
||||
|
||||
|
||||
def build_card_index(cards):
|
||||
"""HR 工资卡台账 → 按身份证(员工/开户人)与工号检索的索引。
|
||||
|
||||
Args:
|
||||
cards: 台账原始行(``BANK_ACCOUNT`` / ``CARD_IDCARD`` / ``IDCARD`` /
|
||||
``base_code`` / ``IS_MAIN`` / ``branch_bank_name``)。
|
||||
|
||||
Returns:
|
||||
``{"by_id": {身份证: [card]}, "by_code": {工号: [card]}}``,
|
||||
``card = {card, main, branch, name}``(卡号为空的行忽略)。
|
||||
"""
|
||||
by_id, by_code = {}, {}
|
||||
for item in cards or []:
|
||||
card_no = _norm_card(item.get("BANK_ACCOUNT"))
|
||||
if not card_no:
|
||||
continue
|
||||
card = {
|
||||
"card": card_no,
|
||||
"main": _is_main(item.get("IS_MAIN")),
|
||||
"branch": str(item.get("branch_bank_name") or "").strip(),
|
||||
"name": str(item.get("CARD_NAME") or "").strip(),
|
||||
}
|
||||
for key in {_norm_id(item.get("CARD_IDCARD")), _norm_id(item.get("IDCARD"))}:
|
||||
if key:
|
||||
by_id.setdefault(key, []).append(card)
|
||||
code = _norm_code(item.get("base_code"))
|
||||
if code:
|
||||
by_code.setdefault(code, []).append(card)
|
||||
return {"by_id": by_id, "by_code": by_code}
|
||||
|
||||
|
||||
def match_existing(index, table_id, emp_no):
|
||||
"""按身份证(优先)或工号取该员工在 HR 的工资卡;未命中返回空列表。"""
|
||||
if not index:
|
||||
return []
|
||||
hit = index.get("by_id", {}).get(_norm_id(table_id))
|
||||
if hit:
|
||||
return hit
|
||||
return index.get("by_code", {}).get(_norm_code(emp_no)) or []
|
||||
|
||||
|
||||
def fetch_existing_cards(session):
|
||||
"""拉 HR「工资卡管理」在职工资卡台账,返回 :func:`build_card_index` 的索引。
|
||||
|
||||
拉取失败(登录态/接口异常)返回 ``None``:降级为不查重、按原逻辑直接导入,
|
||||
不阻断本次闭环。
|
||||
"""
|
||||
try:
|
||||
from hr_sdk import HrClient # SDK 下发,懒加载
|
||||
from hr_sdk.config import REDSEA
|
||||
except Exception as e: # noqa: BLE001
|
||||
_log(f"[HR查重] hr_sdk 不可用,跳过已更新检查:{e}", "WARNING")
|
||||
return None
|
||||
|
||||
url = f"{REDSEA}{config.WAGE_CARD_LIST_PATH}"
|
||||
client = HrClient(session)
|
||||
cards = []
|
||||
try:
|
||||
for page_no in range(1, config.WAGE_CARD_MAX_PAGES + 1):
|
||||
params = {
|
||||
"start": (page_no - 1) * config.WAGE_CARD_PAGE_SIZE,
|
||||
"pageNo": page_no,
|
||||
"pageSize": config.WAGE_CARD_PAGE_SIZE,
|
||||
"ftl_list_STRU_TREE_CODE": "cq37du",
|
||||
"sortName": "hr_staff_wage_card.STAFF_NAME",
|
||||
"sortType": "asc",
|
||||
"commonQuery": "[]",
|
||||
"person_status": 1, # 1=在职(换卡员工都在职)
|
||||
"leaveOffice_date": "",
|
||||
}
|
||||
data = client.request_json("POST", url, data=params, label="工资卡台账")
|
||||
state = str(data.get("state") or "").strip()
|
||||
if state not in ("", "1"):
|
||||
_log(f"[HR查重] 工资卡台账返回 state={state}:{data.get('meg')}", "WARNING")
|
||||
return None
|
||||
page_rows = data.get("datas") or []
|
||||
cards.extend(page_rows)
|
||||
total_page = int(data.get("pageCount") or 0)
|
||||
if not page_rows or (total_page and page_no >= total_page):
|
||||
break
|
||||
except Exception as e: # noqa: BLE001 查重失败不阻断导入
|
||||
_log(f"[HR查重] 工资卡台账拉取失败,跳过已更新检查:{e}", "WARNING")
|
||||
return None
|
||||
|
||||
index = build_card_index(cards)
|
||||
index["count"] = len(cards)
|
||||
_log(f"[HR查重] HR 在职工资卡 {len(cards)} 条,"
|
||||
f"身份证索引 {len(index['by_id'])}、工号索引 {len(index['by_code'])}")
|
||||
return index
|
||||
|
||||
|
||||
def build_wage_rows(rows, existing=None):
|
||||
"""挑出可自动导入的记录并生成模板数据行。
|
||||
|
||||
Args:
|
||||
rows: 核对结果行。
|
||||
existing: :func:`fetch_existing_cards` 的索引(``None``=不查重)。
|
||||
|
||||
Returns:
|
||||
(targets, data_rows):targets 与 data_rows 一一对应;
|
||||
不可自动导入的记录(委托发放/缺字段)已就地写入 hr_status 说明。
|
||||
不可自动导入的记录(委托发放/缺字段)与 HR 已一致的记录已就地写入
|
||||
hr_status/hr_note。
|
||||
"""
|
||||
targets, data_rows = [], []
|
||||
for r in rows:
|
||||
@@ -35,6 +162,19 @@ def build_wage_rows(rows):
|
||||
r["hr_status"] = "跳过"
|
||||
r["hr_note"] = "缺开户银行/银行卡号/身份证号,无法自动导入"
|
||||
continue
|
||||
|
||||
table_card = _norm_card(r.get("table_card"))
|
||||
hr_cards = match_existing(existing, r.get("table_id"), r.get("emp_no"))
|
||||
if any(c.get("card") == table_card for c in hr_cards):
|
||||
main = next(c for c in hr_cards if c.get("card") == table_card).get("main")
|
||||
r["hr_status"] = config.HR_STATUS_EXISTING
|
||||
r["hr_note"] = (f"HR 工资卡已是该卡号({table_card}"
|
||||
f"{',主卡' if main else ''}),无需重复导入,直接回写台账")
|
||||
continue
|
||||
if hr_cards:
|
||||
r["hr_note"] = (f"HR 现有卡号 {'、'.join(c['card'] for c in hr_cards[:2])},"
|
||||
f"将更新为 {table_card}")
|
||||
|
||||
data_rows.append([
|
||||
r.get("emp_name") or r.get("holder"), # *姓名(员工)
|
||||
r.get("table_id"), # *身份证号
|
||||
@@ -52,18 +192,30 @@ def build_wage_rows(rows):
|
||||
|
||||
|
||||
def import_passed(rows, session, progress=None):
|
||||
"""把核对通过记录导入 HR 工资卡,结果逐条写回 ``rows`` 的 hr_status/hr_note。"""
|
||||
"""把核对通过记录导入 HR 工资卡,结果逐条写回 ``rows`` 的 hr_status/hr_note。
|
||||
|
||||
HR 已有同一张卡的记录标记「已一致」,不进导入清单,但仍回写台账。
|
||||
"""
|
||||
p = progress or (lambda _pct: None)
|
||||
targets, data_rows = build_wage_rows(rows)
|
||||
stats = {"imported": 0, "failed": 0, "skipped": 0,
|
||||
# 没有核对通过的行就不必拉台账(省几页请求)
|
||||
has_candidate = any(r.get("conclusion") == "通过" for r in rows)
|
||||
existing = (fetch_existing_cards(session)
|
||||
if config.CHECK_EXISTING_CARD and has_candidate else None)
|
||||
targets, data_rows = build_wage_rows(rows, existing)
|
||||
stats = {"imported": 0, "failed": 0, "skipped": 0, "existing": 0,
|
||||
"written": 0, "message": ""}
|
||||
stats["skipped"] = sum(1 for r in rows if r.get("hr_status") == "跳过")
|
||||
stats["existing"] = sum(1 for r in rows
|
||||
if r.get("hr_status") == config.HR_STATUS_EXISTING)
|
||||
if not targets:
|
||||
stats["message"] = "无核对通过记录,跳过 HR 导入"
|
||||
stats["message"] = (f"无待更新工资卡,跳过 HR 导入"
|
||||
f"(HR 已一致 {stats['existing']} 条)")
|
||||
_log("[HR导入] " + stats["message"], "WARNING")
|
||||
stats["written"] = write_back(rows) # 已一致的记录也要回写「是」
|
||||
return stats
|
||||
|
||||
_log(f"[HR导入] 开始导入 {len(targets)} 条工资卡(按身份证匹配)")
|
||||
_log(f"[HR导入] 开始导入 {len(targets)} 条工资卡(按身份证匹配;"
|
||||
f"HR 已一致跳过 {stats['existing']} 条)")
|
||||
try:
|
||||
from hr_sdk import wage_import # SDK 下发,懒加载
|
||||
res = wage_import.import_cards(
|
||||
@@ -89,31 +241,35 @@ def import_passed(rows, session, progress=None):
|
||||
line = idx + 2 # 模板第 1 行为表头
|
||||
if not errors and res.get("result") == 1:
|
||||
r["hr_status"] = "已导入"
|
||||
r["hr_note"] = "HR 工资卡导入成功"
|
||||
r["hr_note"] = _append(r.get("hr_note"), "HR 工资卡导入成功")
|
||||
elif line in errors:
|
||||
r["hr_status"] = "导入失败"
|
||||
r["hr_note"] = errors[line] or "HR 返回导入失败"
|
||||
r["hr_note"] = _append(r.get("hr_note"), errors[line] or "HR 返回导入失败")
|
||||
elif errors:
|
||||
# 服务端有失败行但未命中本行:按成功处理,仍需人工复核导入结果
|
||||
r["hr_status"] = "已导入"
|
||||
r["hr_note"] = "未在错误列表命中,请复核 HR 工资卡"
|
||||
r["hr_note"] = _append(r.get("hr_note"), "未在错误列表命中,请复核 HR 工资卡")
|
||||
else:
|
||||
r["hr_status"] = "导入失败"
|
||||
r["hr_note"] = f"HR 返回 result={res.get('result')},未成功"
|
||||
r["hr_note"] = _append(r.get("hr_note"),
|
||||
f"HR 返回 result={res.get('result')},未成功")
|
||||
stats["imported"] = sum(1 for r in targets if r["hr_status"] == "已导入")
|
||||
stats["failed"] = len(targets) - stats["imported"]
|
||||
_log(f"[HR导入] 完成:成功 {stats['imported']}、失败 {stats['failed']}、"
|
||||
f"跳过 {stats['skipped']}(服务端 total={res.get('total')} "
|
||||
f"successNum={res.get('successNum')} errorNum={res.get('errorNum')})")
|
||||
f"跳过 {stats['skipped']}、HR 已一致 {stats['existing']}(服务端 "
|
||||
f"total={res.get('total')} successNum={res.get('successNum')} "
|
||||
f"errorNum={res.get('errorNum')})")
|
||||
|
||||
stats["written"] = write_back(targets)
|
||||
stats["written"] = write_back(rows)
|
||||
return stats
|
||||
|
||||
|
||||
def write_back(rows):
|
||||
"""把已导入成功的记录回写 AI 表格「是否更新HR系统=是」。"""
|
||||
"""把已导入/HR 已一致的记录回写 AI 表格「是否更新HR系统=是」。"""
|
||||
done = 0
|
||||
pending = [r for r in rows if r.get("hr_status") == "已导入" and r.get("record_id")]
|
||||
pending = [r for r in rows
|
||||
if r.get("hr_status") in ("已导入", config.HR_STATUS_EXISTING)
|
||||
and r.get("record_id")]
|
||||
if not pending:
|
||||
return 0
|
||||
from ..data.ai_table import open_client # 复用数据层凭证与客户端
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"schema_version": 1,
|
||||
"id": "xq0084",
|
||||
"name": "银行卡更新EHR系统",
|
||||
"version": "0.2.0",
|
||||
"description": "读取人资 AI 表格「银行卡变更收集表」中「是否更新HR系统」为空或「否」的记录,下载银行卡与身份证照片识别卡号、身份证号、姓名、开户银行并比对;支持「试算模式」(默认开启):只核对并输出核对表(结论 + 说明),不写 HR、不回写台账;关闭后核对通过自动导入 HR 工资卡管理并回写「是否更新HR系统=是」,不一致或识别不出进异常名单提醒人事手动处理。",
|
||||
"version": "0.3.0",
|
||||
"description": "读取人资 AI 表格「银行卡变更收集表」中「是否更新HR系统」为空或「否」的记录,下载银行卡与身份证照片识别卡号、身份证号、姓名、开户银行并比对;支持「试算模式」(默认开启):只核对并输出核对表(结论 + 说明),不写 HR、不回写台账;关闭后先查 HR 工资卡管理,卡号已一致的记录不再重复导入、直接回写「是否更新HR系统=是」,其余核对通过的自动导入 HR 工资卡管理并回写;不一致或识别不出进异常名单提醒人事手动处理。",
|
||||
"category": "人事薪酬",
|
||||
"icon": "",
|
||||
"platform": "hr",
|
||||
|
||||
Reference in New Issue
Block a user