Merge remote-tracking branch 'origin/master'

This commit is contained in:
Pancaihua 2024-08-19 15:33:59 +08:00
commit c3869495e3
2 changed files with 1 additions and 3 deletions

View File

@ -110,10 +110,9 @@ public class KnowledgeController {
@GetMapping("/listForEs")
@Operation(summary = "获得查询分页")
public CommonResult<List<KnowledgeRespVO>> getKnowsList(@Valid KmsSearchDto kmsSearchDto) {
System.out.println("获得查询分页获得查询分页获得查询分页获得查询分页"+kmsSearchDto);
System.out.println("kmsSearchDto: " + kmsSearchDto);
//PageResult<KnowledgeDO> pageResult = knowledgeService.getKnowledgePage(pageReqVO);
List<KnowledgeDO> list = knowledgeService.getKnowsList(kmsSearchDto);
System.out.println("获得查询分页获得查询分页获得查询分页获得查询分页"+list);
return success(BeanUtils.toBean(list, KnowledgeRespVO.class));
}
@GetMapping("/page-user")

View File

@ -139,7 +139,6 @@ public class KnowledgeServiceImpl implements KnowledgeService {
}
public List<KnowledgeDO> getKnowsList(KmsSearchDto kmsSearchDto) {
System.out.println("getKnowsListgetKnowsListgetKnowsList"+kmsSearchDto);
// return knowledgeMapper.selectPage(userId, pageReqVO);
KnowledgeDO knowledgeDo = new KnowledgeDO();
return EsearchUtils.selectForEs(kmsSearchDto,knowledgeDo,indexName,KnowledgeDO.class);