|
|
@ -54,9 +54,8 @@ public class ExDeptServiceImpl extends BaseServiceImpl<ExDeptDao, ExDeptEntity> |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
public Map<String, Integer> getDeptMap(String customerId) { |
|
|
|
public Map<String, Integer> getDeptMap() { |
|
|
|
LambdaQueryWrapper<ExDeptEntity> wrapper = new LambdaQueryWrapper<>(); |
|
|
|
wrapper.eq(ExDeptEntity::getQxCustomerId, customerId); |
|
|
|
List<ExDeptEntity> entityList = baseDao.selectList(wrapper); |
|
|
|
if (CollectionUtils.isEmpty(entityList)) { |
|
|
|
return Collections.emptyMap(); |
|
|
@ -136,4 +135,4 @@ public class ExDeptServiceImpl extends BaseServiceImpl<ExDeptDao, ExDeptEntity> |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|