|
|
@@ -103,7 +103,7 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
|
|
|
|
|
|
// 根据项目亮点ID集合获取项目亮点
|
|
|
String highlightNames = this.buildHighlightNames(dto.getHighlightIds());
|
|
|
- if(StrUtil.isNotEmpty(highlightNames)){
|
|
|
+ if (StrUtil.isNotEmpty(highlightNames)) {
|
|
|
entity.setHighlight(highlightNames);
|
|
|
}
|
|
|
|
|
|
@@ -131,7 +131,7 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
|
|
|
|
|
|
// 根据项目亮点ID集合获取项目亮点
|
|
|
String highlightNames = this.buildHighlightNames(dto.getHighlightIds());
|
|
|
- if(StrUtil.isNotEmpty(highlightNames)){
|
|
|
+ if (StrUtil.isNotEmpty(highlightNames)) {
|
|
|
entity.setHighlight(highlightNames);
|
|
|
}
|
|
|
|
|
|
@@ -212,10 +212,11 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
|
|
|
vo.setProjectInfo(projectInfo);
|
|
|
|
|
|
// 2. 查询商户列表
|
|
|
-// Page<BookMerchantVO> merchantList = maProjectService.selectMerchantList(dto);
|
|
|
+ Page<BookMerchantVO> page = new Page<>(dto.getCurrent(), dto.getSize());
|
|
|
+ Page<BookMerchantVO> merchantList = maProjectService.selectMerchantList(page, projectId);
|
|
|
|
|
|
|
|
|
-// vo.setMerchantList(merchantList);
|
|
|
+ vo.setMerchantList(merchantList);
|
|
|
return vo;
|
|
|
}
|
|
|
|