|
|
@@ -1499,12 +1499,13 @@ public class OrderRefundServiceImpl extends ServiceImpl<OrderRefundMapper, Order
|
|
|
for (int i = 0; i < totalRows; i += batchSize) {
|
|
|
int end = Math.min(i + batchSize, totalRows);
|
|
|
List<OrderRefundVo> batch = orderList.subList(i, end);
|
|
|
- // 定期检查中断标志
|
|
|
- if (context.isCancelled() || Thread.currentThread().isInterrupted()) {
|
|
|
- context.setProcessedRows(indexNum);
|
|
|
- break;
|
|
|
- }
|
|
|
+
|
|
|
for (OrderRefundVo orderRefundVo : orderList) {
|
|
|
+ // 定期检查中断标志
|
|
|
+ if (context.isCancelled() || Thread.currentThread().isInterrupted()) {
|
|
|
+ context.setProcessedRows(indexNum);
|
|
|
+ break;
|
|
|
+ }
|
|
|
Row row = sheet.createRow(rowNum++);
|
|
|
row.setHeightInPoints(18);
|
|
|
// 序号
|