Summary: - Implement 7 quick action functions (filter, recode, binning, conditional, dropna, compute, pivot) - Refactor to pre-written Python functions architecture (stable and secure) - Add 7 Python operations modules with full type hints - Add 7 frontend Dialog components with user-friendly UI - Fix NaN serialization issues and auto type conversion - Update all related documentation Technical Details: - Python: operations/ module (filter.py, recode.py, binning.py, conditional.py, dropna.py, compute.py, pivot.py) - Backend: QuickActionService.ts with 7 execute methods - Frontend: 7 Dialog components with complete validation - Toolbar: Enable 7 quick action buttons Status: Phase 1-2 completed, basic testing passed, ready for further testing
33 lines
695 B
PowerShell
33 lines
695 B
PowerShell
# DC模块数据库同步脚本
|
||
Write-Host "====================================" -ForegroundColor Cyan
|
||
Write-Host "DC模块数据库表同步" -ForegroundColor Cyan
|
||
Write-Host "====================================" -ForegroundColor Cyan
|
||
Write-Host ""
|
||
|
||
Set-Location $PSScriptRoot
|
||
|
||
Write-Host "1️⃣ 生成Prisma Client..." -ForegroundColor Yellow
|
||
npm run prisma:generate
|
||
|
||
Write-Host ""
|
||
Write-Host "2️⃣ 推送Schema到数据库..." -ForegroundColor Yellow
|
||
npx prisma db push --accept-data-loss
|
||
|
||
Write-Host ""
|
||
Write-Host "3️⃣ 检查表是否创建成功..." -ForegroundColor Yellow
|
||
npx tsx check-dc-database.ts
|
||
|
||
Write-Host ""
|
||
Write-Host "✅ 完成!" -ForegroundColor Green
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|