feat(plugin): XQ0036 0.1.1 配置收敛为工作目录、星级按工号实时查询
- 配置由 save_dir / standard_path / roster_path 收敛为 work_dir:线下标准表在 该目录内按文件名关键词(起调薪薪资标准/薪资标准)与日期自动取最新, 处理结果 xlsx 同目录输出 - 星级改为按待办工号实时查询,失败再回退全量花名册导出 - 处理窗口留空=全部待办(原先默认当前自然月);界面、规则说明、README 同步
This commit is contained in:
@@ -124,8 +124,7 @@ def evaluate(row: dict, api: WageApi, accounts: dict, std_rows: List[dict],
|
||||
if decision["action"] == classify.ACTION_START else {}
|
||||
cards = api.wage_cards(config.text(row.get("base_id"))) \
|
||||
if decision["action"] == classify.ACTION_START else []
|
||||
tax_info = tax.resolve(row, started, staff_base,
|
||||
enabled=bool(fields.get("tax_unit_fallback", True)))
|
||||
tax_info = tax.resolve(row, started, staff_base)
|
||||
record["纳税单位"] = tax_info["name"] or tax_info["id"] or ""
|
||||
if tax_info["name"]:
|
||||
_log(f"[INFO] {record['姓名']} 纳税单位:{tax_info['name']}({tax_info['source']})")
|
||||
|
||||
Reference in New Issue
Block a user