From c8c3bb253a739a6ed4381f0616b5751c8105d796 Mon Sep 17 00:00:00 2001 From: wst <2450473462@qq.com> Date: Fri, 22 Nov 2024 19:49:12 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=93=81=E8=AE=BA=E6=97=B6=EF=BC=8C=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E6=96=B0=E5=A2=9E=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/skyeye/order/service/impl/OrderServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyeye-shop/shop-store/src/main/java/com/skyeye/order/service/impl/OrderServiceImpl.java b/skyeye-shop/shop-store/src/main/java/com/skyeye/order/service/impl/OrderServiceImpl.java index ae3f689d..0d2cfceb 100644 --- a/skyeye-shop/shop-store/src/main/java/com/skyeye/order/service/impl/OrderServiceImpl.java +++ b/skyeye-shop/shop-store/src/main/java/com/skyeye/order/service/impl/OrderServiceImpl.java @@ -481,7 +481,7 @@ public class OrderServiceImpl extends SkyeyeBusinessServiceImpl @Override public void updateCommonState(String id, Integer state) { UpdateWrapper updateWrapper = new UpdateWrapper<>(); - updateWrapper.eq(MybatisPlusUtil.toColumns(Order::getId), id); + updateWrapper.eq(CommonConstants.ID, id); updateWrapper.set(MybatisPlusUtil.toColumns(Order::getCommentState), state); update(updateWrapper); }