|
@ -119,6 +119,9 @@ public class UserBadgeServiceImpl implements UserBadgeService { |
|
|
public List<UserOperListResultDTO> selectOperList(UserOperListFormDTO userOperListFormDTO) { |
|
|
public List<UserOperListResultDTO> selectOperList(UserOperListFormDTO userOperListFormDTO) { |
|
|
List<UserOperListResultDTO> userAuthBadgeList = userBadgeDao.selectAuthRecord(userOperListFormDTO.getUserId()); |
|
|
List<UserOperListResultDTO> userAuthBadgeList = userBadgeDao.selectAuthRecord(userOperListFormDTO.getUserId()); |
|
|
Object userBadge = userBadgeRedis.getCustomerBadge(userOperListFormDTO.getCustomerId()); |
|
|
Object userBadge = userBadgeRedis.getCustomerBadge(userOperListFormDTO.getCustomerId()); |
|
|
|
|
|
if (null == userBadge){ |
|
|
|
|
|
return new ArrayList<>(); |
|
|
|
|
|
} |
|
|
List<UserOperListResultDTO> userOperListResultDTOS = JSON.parseArray(userBadge.toString(), UserOperListResultDTO.class); |
|
|
List<UserOperListResultDTO> userOperListResultDTOS = JSON.parseArray(userBadge.toString(), UserOperListResultDTO.class); |
|
|
// 没有任何记录
|
|
|
// 没有任何记录
|
|
|
if (CollectionUtils.isEmpty(userAuthBadgeList)){ |
|
|
if (CollectionUtils.isEmpty(userAuthBadgeList)){ |
|
|