第三方接口调试

pro
anthonywj 2 years ago
parent 0f93175ce0
commit 3c98777e20

@ -1618,10 +1618,9 @@ public class HeartService {
List<List<SupProductEntity>> splits = CustomUtil.splitList(supProductList, 100);
if (CollUtil.isNotEmpty(splits)) {
for (List<SupProductEntity> items : splits) {
supProductDao.replaceBatch(items);
supProductDao.insertOrUpdateBatch(items);
}
}
}
if (CollUtil.isNotEmpty(syncFiles)) {
// fileService.download(syncFiles);

@ -199,8 +199,6 @@ public class ThrProductsServiceImpl extends ServiceImpl<ThrProductsDao, ThrProdu
}
}
});
if (list.size() >= limit) {
page++;
} else {
@ -245,7 +243,7 @@ public class ThrProductsServiceImpl extends ServiceImpl<ThrProductsDao, ThrProdu
}
}
});
if (list.size() >= limit) {
if (list.size() >= limit && !baseResponse.getData().getTotal().equals(-666)) {
page++;
} else {
break;

Loading…
Cancel
Save