fix: 修复bigint精度丢失导致交还替换数据膨胀
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user