mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 03:55:17 +08:00
update 会员信息根据所属一级运营商查询
This commit is contained in:
@@ -22,6 +22,7 @@ public class QueryMemberInfoDTO {
|
||||
|
||||
private String memberId;
|
||||
|
||||
// 一级运营商id
|
||||
private String merchantId;
|
||||
|
||||
private List<String> merchantDeptIds;
|
||||
|
||||
@@ -3,9 +3,11 @@ package com.jsowell.pile.service.impl;
|
||||
import com.google.common.collect.Lists;
|
||||
import com.jsowell.common.constant.CacheConstants;
|
||||
import com.jsowell.common.constant.Constants;
|
||||
import com.jsowell.common.core.domain.vo.AuthorizedDeptVO;
|
||||
import com.jsowell.common.core.redis.RedisCache;
|
||||
import com.jsowell.common.enums.MemberWalletEnum;
|
||||
import com.jsowell.common.util.DateUtils;
|
||||
import com.jsowell.common.util.SecurityUtils;
|
||||
import com.jsowell.common.util.StringUtils;
|
||||
import com.jsowell.pile.domain.MemberBasicInfo;
|
||||
import com.jsowell.pile.domain.MemberPlateNumberRelation;
|
||||
@@ -304,15 +306,15 @@ public class MemberBasicInfoServiceImpl implements IMemberBasicInfoService {
|
||||
*/
|
||||
@Override
|
||||
public List<MemberVO> selectMemberList(QueryMemberInfoDTO dto) {
|
||||
// // 获取登录账号信息
|
||||
// AuthorizedDeptVO authorizedMap = SecurityUtils.getAuthorizedMap();
|
||||
// if (authorizedMap == null) {
|
||||
// return new ArrayList<>();
|
||||
// }
|
||||
// List<String> merchantDeptIds = authorizedMap.getMerchantDeptIds();
|
||||
// if (CollectionUtils.isNotEmpty(merchantDeptIds)) {
|
||||
// dto.setMerchantDeptIds(merchantDeptIds);
|
||||
// }
|
||||
// 获取登录账号信息
|
||||
AuthorizedDeptVO authorizedMap = SecurityUtils.getAuthorizedMap();
|
||||
if (authorizedMap == null) {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
List<String> merchantDeptIds = authorizedMap.getMerchantDeptIds();
|
||||
if (CollectionUtils.isNotEmpty(merchantDeptIds)) {
|
||||
dto.setMerchantDeptIds(merchantDeptIds);
|
||||
}
|
||||
return memberBasicInfoMapper.selectMemberList(dto);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user