Преглед на файлове

标注库功能的代码

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);