From 9a4d04cbe0eca7555cb868aa4088b3763389bc27 Mon Sep 17 00:00:00 2001 From: 18631081161 <2088094923@qq.com> Date: Mon, 6 Apr 2026 19:50:50 +0800 Subject: [PATCH] . --- server/src/utils/syncPrice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/utils/syncPrice.ts b/server/src/utils/syncPrice.ts index 718e8929..09fab1e8 100644 --- a/server/src/utils/syncPrice.ts +++ b/server/src/utils/syncPrice.ts @@ -8,7 +8,7 @@ import { RowDataPacket } from 'mysql2' */ export async function syncProductMinPrice(productId: number, conn?: any): Promise { const db = conn || pool - const [rows] = await db.execute( + const [rows]: any = await db.execute( 'SELECT MIN(total_price) as min_price FROM spec_data WHERE product_id = ?', [productId] )