From 2ebba174f3157f08c9eb6ebe95a57d7a0650c0fd Mon Sep 17 00:00:00 2001 From: wst <2450473462@qq.com> Date: Fri, 6 Dec 2024 16:38:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=AE=A2=E5=8D=95=E8=AF=84=E4=BB=B7?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=88=97=E8=A1=A8=E6=9D=83=E9=99=90=E6=94=B9?= =?UTF-8?q?=E4=B8=BA0=EF=BC=8C=E4=BF=AE=E5=A4=8D=E8=B4=AD=E7=89=A9?= =?UTF-8?q?=E8=BD=A6=E4=BF=AE=E6=94=B9=E5=95=86=E5=93=81=E6=95=B0=E9=87=8F?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/skyeye/order/conroller/OrderCommentController.java | 2 +- .../com/skyeye/store/service/impl/ShopTradeCartServiceImpl.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/skyeye-shop/shop-store/src/main/java/com/skyeye/order/conroller/OrderCommentController.java b/skyeye-shop/shop-store/src/main/java/com/skyeye/order/conroller/OrderCommentController.java index 248f88aa..4b17e5bc 100644 --- a/skyeye-shop/shop-store/src/main/java/com/skyeye/order/conroller/OrderCommentController.java +++ b/skyeye-shop/shop-store/src/main/java/com/skyeye/order/conroller/OrderCommentController.java @@ -78,7 +78,7 @@ public class OrderCommentController { * @param inputObject 入参以及用户信息等获取对象 * @param outputObject 出参以及提示信息的返回值对象 */ - @ApiOperation(id = "queryOrderCommentPageList", value = "分页查询商品订单评价信息", method = "POST", allUse = "2") + @ApiOperation(id = "queryOrderCommentPageList", value = "分页查询商品订单评价信息", method = "POST", allUse = "0") @ApiImplicitParams(classBean = CommonPageInfo.class) @RequestMapping("/post/OrderCommentController/queryOrderCommentPageList") public void queryOrderCommentPageList(InputObject inputObject, OutputObject outputObject) { 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 7200f731..b4a703ff 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,6 +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); ShopTradeCart one = getOne(queryWrapper); if (ObjectUtil.isNotEmpty(one)) { shopTradeCart.setId(one.getId());