From bae925695ac486995327405d8be207045ba8fcb8 Mon Sep 17 00:00:00 2001 From: gong <1157756119@qq.com> Date: Thu, 22 Jan 2026 15:57:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=20=E5=85=B3=E8=81=94?= =?UTF-8?q?=E5=95=86=E5=93=81=20sync=5Fid=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/ProductMapper.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cash-service/product-service/src/main/resources/mapper/ProductMapper.xml b/cash-service/product-service/src/main/resources/mapper/ProductMapper.xml index 828ba4455..a534d54f5 100644 --- a/cash-service/product-service/src/main/resources/mapper/ProductMapper.xml +++ b/cash-service/product-service/src/main/resources/mapper/ProductMapper.xml @@ -149,7 +149,7 @@ and t1.shop_id = #{shopId} - and t1.id in + and (t1.id in #{item} @@ -157,6 +157,7 @@ #{item} + ) order by t1.sort desc,t1.id desc