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); }