|
@@ -621,7 +621,7 @@ public class ObjectDigitalServiceImpl extends ServiceImpl<ObjectDigitalMapper, O
|
|
|
Boolean fillRelFlag,
|
|
|
Boolean fillSpaceFlag) {
|
|
|
List<ObjectDigital> records = pageResult.getRecords();
|
|
|
- if (CollUtil.isEmpty(records)){
|
|
|
+ if (CollUtil.isEmpty(records) && !requestData.isOnlyCount()){
|
|
|
return ResultHelper.multi(new ArrayList<>(),0);
|
|
|
}
|
|
|
if (requestData.isOnlyCount()){
|