feat: 新增社保减员核查脚本及相关配置优化

- 新增停保核查脚本 check_review_stop.py
- 优化社保增减员路径配置,合并台账目录
- 调整商户分组名称为综合门店
- 新增 Chrome 密码设置配置,关闭保存密码弹窗
- 优化源文件筛选规则,收紧为社保变更文件
- 新增 VC 运行库复制到构建脚本,解决 DLL 加载问题
- 升级通联数据导出插件版本至 1.0.12,更新描述
This commit is contained in:
2026-09-30 09:39:12 +08:00
parent bf4f72cb01
commit 6afae1f67f
20 changed files with 2436 additions and 340 deletions
@@ -145,6 +145,22 @@ if (Test-Path $PyWin32Sys) {
Write-Host "pywin32 DLLs copied to interpreter root"
}
# copy VC++ runtime DLLs next to the interpreter: onnxruntime/opencv .pyd
# depends on msvcp140.dll / msvcp140_1.dll etc. On machines without VC++
# 2015-2022 Redistributable the plugin fails with "DLL load failed while
# importing onnxruntime_pybind11_state" (1.1.1 只拷了 3 个,漏了 msvcp140_1.dll,
# 无 VC 运行库的客户机必现). VC++ redist DLLs are redistributable (MS license).
foreach ($dll in (Get-ChildItem -Path $env:SystemRoot\System32 -Filter "*.dll" |
Where-Object { $_.Name -match '^(msvcp140|vcruntime140)' })) {
Copy-Item $dll.FullName -Destination $PyDir -Force
Write-Host " VC runtime: $($dll.Name)"
}
$VcCount = (Get-ChildItem -Path $PyDir -Filter "*.dll" |
Where-Object { $_.Name -match '^(msvcp140|vcruntime140)' }).Count
if ($VcCount -lt 3) {
throw "VC++ runtime DLLs incomplete ($VcCount): install VC++ 2015-2022 Redistributable x64 on this build machine first"
}
# ---------- 3. webhost runtime subset ----------
$Wb = Join-Path $Repo "desktop\webhost\backend"
$EnvWb = Join-Path $PyDir "webhost\backend"
@@ -188,6 +204,7 @@ Write-Host "=== smoke test ===" -ForegroundColor Cyan
if ($LASTEXITCODE -ne 0) { throw "core deps import failed" }
& $PyExe -c "import DrissionPage; print(' DrissionPage', DrissionPage.__version__)" | Out-Host
& $PyExe -c "import ddddocr; print(' ddddocr ok')" | Out-Host
& $PyExe -c "import onnxruntime; print(' onnxruntime', onnxruntime.__version__)" | Out-Host
& $PyExe -c "import win32com.client; print(' win32com ok')" | Out-Host
Push-Location $PyDir
try {