From 963e13d4e5f3c0c269904baa24b35122d810abeb Mon Sep 17 00:00:00 2001 From: wst <2450473462@qq.com> Date: Sat, 7 Dec 2024 09:48:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B4=AD=E7=89=A9=E8=BD=A6=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E7=9B=B8=E5=90=8C=E5=95=86=E5=93=81=E5=8F=AA=E4=BC=9A?= =?UTF-8?q?=E6=94=B9=E5=8F=98=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/skyeye/store/service/impl/ShopTradeCartServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyeye-shop/shop-store/src/main/java/com/skyeye/store/service/impl/ShopTradeCartServiceImpl.java b/skyeye-shop/shop-store/src/main/java/com/skyeye/store/service/impl/ShopTradeCartServiceImpl.java index b4a703ff..605af4b6 100644 --- a/skyeye-shop/shop-store/src/main/java/com/skyeye/store/service/impl/ShopTradeCartServiceImpl.java +++ b/skyeye-shop/shop-store/src/main/java/com/skyeye/store/service/impl/ShopTradeCartServiceImpl.java @@ -118,7 +118,7 @@ public class ShopTradeCartServiceImpl extends SkyeyeBusinessServiceImpl queryWrapper = new QueryWrapper<>(); queryWrapper.eq(MybatisPlusUtil.toColumns(ShopTradeCart::getMaterialId), shopTradeCart.getMaterialId()); queryWrapper.eq(MybatisPlusUtil.toColumns(ShopTradeCart::getNormsId), shopTradeCart.getNormsId()); - queryWrapper.eq(CommonConstants.ID,userId); + queryWrapper.eq(MybatisPlusUtil.toColumns(ShopTradeCart::getCreateId),userId); ShopTradeCart one = getOne(queryWrapper); if (ObjectUtil.isNotEmpty(one)) { shopTradeCart.setId(one.getId());