落地报价模板主账与后台:合同映射、灌种 SQL/脚本、智能体填表,并补测服运维探针与合同文档对齐。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# Install COMMONSIO fat jar and restart 8180
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$Src = 'C:\Users\ytd_extdev_0903\incoming\jeecg-system-start-3.5.3.COMMONSIO.jar'
|
||||
$Incoming = 'C:\Users\ytd_extdev_0903\incoming\jeecg-system-start-3.5.3.jar'
|
||||
$Fat = 'E:\wwwroot\inquiry-new\jeecg-system-start-3.5.3.jar'
|
||||
$Expect = 177186821
|
||||
|
||||
if (-not (Test-Path $Src)) { throw "missing $Src" }
|
||||
$len = (Get-Item $Src).Length
|
||||
Write-Host ("src_bytes=" + $len)
|
||||
if ($len -lt 170000000) { throw 'src too small' }
|
||||
|
||||
$jarCmd = 'C:\yutongda\tools\jdk8\bin\jar.exe'
|
||||
Write-Host '=== commons-io in src ==='
|
||||
& $jarCmd tf $Src | Select-String 'commons-io'
|
||||
|
||||
Get-CimInstance Win32_Process | ForEach-Object {
|
||||
if ($_.CommandLine -and ($_.CommandLine -like '*inquiry-new*jeecg*' -or $_.CommandLine -like '*run-ledger*')) {
|
||||
Write-Host ("killing=" + $_.ProcessId)
|
||||
Stop-Process -Id $_.ProcessId -Force -ErrorAction SilentlyContinue
|
||||
}
|
||||
}
|
||||
Start-Sleep -Seconds 3
|
||||
Copy-Item $Src $Incoming -Force
|
||||
Copy-Item $Src $Fat -Force
|
||||
Write-Host ("fat_bytes=" + (Get-Item $Fat).Length)
|
||||
Write-Host 'COPIED_COMMONSIO'
|
||||
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File C:\Users\ytd_extdev_0903\incoming\_remote_wmi_start_ledger.ps1
|
||||
Write-Host 'INSTALL_COMMONSIO_DONE'
|
||||
Reference in New Issue
Block a user