|
|
@ -244,7 +244,7 @@ public class ScreenCustomerGridServiceImpl extends BaseServiceImpl<ScreenCustome |
|
|
|
@Override |
|
|
|
public Map<String, ScreenCustomerGridDTO> getGridList(String customerId) { |
|
|
|
LambdaQueryWrapper<ScreenCustomerGridEntity> wrapper = new LambdaQueryWrapper<>(); |
|
|
|
wrapper.eq(StringUtils.isNotBlank(customerId), ScreenCustomerGridEntity::getGridId, customerId); |
|
|
|
wrapper.eq(StringUtils.isNotBlank(customerId), ScreenCustomerGridEntity::getCustomerId, customerId); |
|
|
|
List<ScreenCustomerGridEntity> list = baseDao.selectList(wrapper); |
|
|
|
return ConvertUtils.sourceToTarget(list, ScreenCustomerGridDTO.class).stream().collect(Collectors.toMap(ScreenCustomerGridDTO::getGridId, Function.identity())); |
|
|
|
} |
|
|
|