From 45c7558e4b596517557f5ab94c8dbcc32fd3ec30 Mon Sep 17 00:00:00 2001 From: xiaofajia <1665375861@qq.com> Date: Fri, 13 Dec 2024 15:36:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E4=BA=8E=E6=97=A0=E6=B3=95=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=95=86=E5=93=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/AppInspectionPartnerServiceImpl.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/service/impl/AppInspectionPartnerServiceImpl.java b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/service/impl/AppInspectionPartnerServiceImpl.java index 5aa01821..1139e969 100644 --- a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/service/impl/AppInspectionPartnerServiceImpl.java +++ b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/service/impl/AppInspectionPartnerServiceImpl.java @@ -141,11 +141,12 @@ public class AppInspectionPartnerServiceImpl extends ServiceImpl categoryList(Long partnerId) { - LoginUser user = SecurityFrameworkUtils.getLoginUser(); - ShopMallPartners partners = baseMapper.selectById(partnerId); - if (!partners.getUserId().equals(user.getId())){ - return null; - } + // 暂时去掉 +// LoginUser user = SecurityFrameworkUtils.getLoginUser(); +// ShopMallPartners partners = baseMapper.selectById(partnerId); +// if (!partners.getUserId().equals(user.getId())){ +// return null; +// } List shopInspectionCategories = baseMapper.partnerCategoryList(partnerId); for (ShopInspectionCategory shopInspectionCategory : shopInspectionCategories) { LambdaQueryWrapper templateLambdaQueryWrapper =new LambdaQueryWrapper<>();