소스 검색

标注库功能的代码

chendayu 2 년 전
부모
커밋
0a86b787fa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      PAS/src/main/java/cn/cslg/pas/service/ScratchWordsService.java

+ 1 - 1
PAS/src/main/java/cn/cslg/pas/service/ScratchWordsService.java

@@ -279,7 +279,7 @@ public class ScratchWordsService extends ServiceImpl<ScratchWordsMapper, Scratch
         List<Integer> reportIds = JSON.parseArray(jsonObject.get("data").toString(), Integer.class);
 
         //开始查询标注表标注清单
-        if (queryGroupScratchsDTO.getCurrent() != null) {
+        if (queryGroupScratchsDTO.getCurrent() != null && queryGroupScratchsDTO.getSize() != null) {
             PageHelper.startPage(queryGroupScratchsDTO.getCurrent(), queryGroupScratchsDTO.getSize());
         }
         List<GroupName> groupNames = scratchWordsMapper.queryGroupScratchs(queryGroupScratchsDTO, tenantId, personId, projectIds, reportIds);