Selaa lähdekoodia

标注库功能的代码

chendayu 2 vuotta sitten
vanhempi
commit
0a86b787fa

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