fix: 修复bigint精度丢失导致交还替换数据膨胀
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

truck ID 为 MySQL bigint,JavaScript Number 精度不够导致
不同 ID 被截断为相同值造成误匹配。改用 CAST AS CHAR +
字符串 Set 比较。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
kkfluous
2026-03-26 14:50:22 +08:00
parent 23fa3e1531
commit 0b2e2f23b5
2 changed files with 17 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
export interface VehicleRow {
id: number;
id: string;
车牌号: string;
vin: string;
车辆品牌: string;
@@ -28,7 +28,7 @@ export interface VehicleRow {
}
export interface Vehicle {
id: number;
id: string;
plateNumber: string;
vin: string;
type: string;