修复:恢复 PostgreSQL 集成测试并规范工单搜索条件

This commit is contained in:
yml2213
2026-08-30 17:04:35 +08:00
parent 25b89bb503
commit 535cefd4de
10 changed files with 3051 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
Test fix diff summary
1. worker-platform/work-order-query-repo.ts
- Trim keyword input inside buildWorkOrderWhere before adding LIKE filters.
- Whitespace-only keywords now add no filter and no SQL parameter.
2. db/postgres.integration.test.ts
- Use a unique regular table for the pool-concurrency test.
- Drop the table in finally so concurrent pool connections can see it and cleanup is deterministic.