From be2e00346362a9a3ff4f1a46de134639c73953ed Mon Sep 17 00:00:00 2001 From: huliguo <2023611923@qq.com> Date: 星期二, 15 七月 2025 14:11:55 +0800 Subject: [PATCH] bug修改 --- ruoyi-modules/ruoyi-member/src/main/java/com/ruoyi/member/service/impl/member/MemberServiceImpl.java | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/ruoyi-modules/ruoyi-member/src/main/java/com/ruoyi/member/service/impl/member/MemberServiceImpl.java b/ruoyi-modules/ruoyi-member/src/main/java/com/ruoyi/member/service/impl/member/MemberServiceImpl.java index c8a2f2e..2ab3962 100644 --- a/ruoyi-modules/ruoyi-member/src/main/java/com/ruoyi/member/service/impl/member/MemberServiceImpl.java +++ b/ruoyi-modules/ruoyi-member/src/main/java/com/ruoyi/member/service/impl/member/MemberServiceImpl.java @@ -432,6 +432,16 @@ merMemberPageDto.setSurpEndNum(999999999); } } + //今日到店用户 + if(1 == merMemberPageDto.getIsTodayStore()){ + List<Integer> data = remoteOrderService.countShopServicePerson(merMemberPageDto.getShopId()).getData(); + merMemberPageDto.setUserIds(data); + } + //有未跟进的任务用户 + if(1 == merMemberPageDto.getIsTask()){ + List<Integer> data = remoteShopService.getMemberIngTotal(merMemberPageDto.getShopId()).getData(); + merMemberPageDto.setUserIds(data); + } List<MerMemberPageVo> merMemberPageVoList = memberMapper.pageMerMember(page, merMemberPageDto); //处理活跃度返回 if (merMemberPageVoList != null && !merMemberPageVoList.isEmpty()) { @@ -950,7 +960,8 @@ merMemberPageDto.setStartBirthday(startBirthday.format(formatter)); } // 获取当前登陆人的可视权限 - SysUser sysUser = SecurityUtils.getSysUser(); + SysUser sysUserId = SecurityUtils.getSysUser(); + SysUser sysUser = sysUserService.getSysUser(sysUserId.getUserId()).getData(); // 店铺ids List<Long> scope = new ArrayList<>(); if (sysUser!=null){ -- Gitblit v1.7.1