From a1e338c04840ce6acfe46042090f9b94b04e1bbc Mon Sep 17 00:00:00 2001 From: 101captain <237651143@qq.com> Date: 星期四, 21 七月 2022 10:32:49 +0800 Subject: [PATCH] bug修改 --- springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/UserServiceImpl.java | 15 ++++++--------- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/UserServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/UserServiceImpl.java index d6993b1..1655ed3 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/UserServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/UserServiceImpl.java @@ -337,11 +337,11 @@ if(StringUtils.isNotEmpty(areaName)){ loginUserInfoVO.setAreaName(areaName); } - SysAppConfig sysAppConfig=sysAppConfigDao.selectOne(new QueryWrapper<SysAppConfig>().lambda().eq(SysAppConfig::getAreaCode,comActVO.getAreaCode())); - if(sysAppConfig!=null){ - loginUserInfoVO.setAppId(sysAppConfig.getAppId()); - loginUserInfoVO.setAppSecret(sysAppConfig.getSecret()); - } +// SysAppConfig sysAppConfig=sysAppConfigDao.selectOne(new QueryWrapper<SysAppConfig>().lambda().eq(SysAppConfig::getAreaCode,comActVO.getAreaCode())); +// if(sysAppConfig!=null){ +// loginUserInfoVO.setAppId(sysAppConfig.getAppId()); +// loginUserInfoVO.setAppSecret(sysAppConfig.getSecret()); +// } } } List<SysRoleDO> roleDOList = roleDAO.selectByUserId(sysUserDO.getUserId()); @@ -3444,7 +3444,6 @@ if (userProportions.size()>0){ for (UserProportion userProportion : userProportions) { if (org.apache.commons.lang3.ObjectUtils.isNotEmpty(userProportion)){ - log.info("统计数据"+userProportion); UserRateAnalysisVO vo=new UserRateAnalysisVO(); if (monthRange){ if (userProportion.getCommunityId().equals("11")){ @@ -3459,7 +3458,6 @@ } vo.setName(typeToName(type,userProportion )); vo.setCount(userProportion.getUser()); - log.info("统计后数据+"+vo); userRateAnalysisVOList.add(vo); } } @@ -3480,7 +3478,6 @@ userRate.setUserList(userRateAnalysisVOList); return R.ok(userRate); } - @Override public R realUser(Integer type, Long streetId, Long areaCode, Integer range) { @@ -3602,7 +3599,6 @@ } return R.ok(); } - @Override public R getAreaAndStreet() { List<Integer> areaCodeList=areaCodeList(); @@ -3617,6 +3613,7 @@ return R.ok(areaVOList); } + /** * 获取最近20天数据 * -- Gitblit v1.7.1