Browse Source

数据为空,返回格式统一

chengyao 4 years ago
parent
commit
d9879ffdab

+ 0 - 3
src/main/java/com/diagbot/service/impl/QcresultInfoServiceImpl.java

@@ -218,9 +218,6 @@ public class QcresultInfoServiceImpl extends ServiceImpl<QcresultInfoMapper, Qcr
         float nsum = 0;
           Set<Long> ids = new HashSet<Long>();
         List<EntryNumDTO> records = entryNumDTOIPage.getRecords();
-        if(CollectionUtils.isEmpty(records)){
-            return null;
-        }
         for (EntryNumDTO record : records) {
             ids.add(record.getId());
             int num = record.getNum().intValue();