|
|
@ -187,7 +187,9 @@ public class CustomerStartPageServiceImpl extends BaseServiceImpl<CustomerStartP |
|
|
|
|
|
|
|
//2.根据客户Id查询客户启动页数据
|
|
|
|
List<StartPageResultDTO> defList = baseDao.selectByCustomerId(dto.getId()); |
|
|
|
|
|
|
|
if(null==defList||defList.size()<NumConstant.ONE){ |
|
|
|
defList = baseDao.selectByCustomerId("default"); |
|
|
|
} |
|
|
|
//3.封装数据并返回
|
|
|
|
defList.forEach(d -> { |
|
|
|
if ("resi".equals(d.getClientType())) { |
|
|
|