1
0

feat: 增加进度显示

This commit is contained in:
2025-09-08 21:53:19 +08:00
parent 8970d79bad
commit 1ad5b10e20
2 changed files with 9 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ public class CheckDailyNode extends TaskNodeComponent {
var total = stocks.size();
var progress = 0;
for (Stock stock : stocks) {
log.info("正在处理:{} {}", stock.getCode(), stock.getName());
if (exchange.equals(stock.getMarket())) {
var existsTradeDates = dailyService.findDistinctTradeDateByStockId(stock.getId());
var missedTradeDates = allTradeDates.stream()

View File

@@ -41,6 +41,14 @@ function TaskList() {
width: 100,
...remoteMappings('task_status', 'status'),
},
{
name: 'step',
label: '进度',
type: 'progress',
stripe: true,
animate: true,
showLabel: false,
},
{
label: '耗时',
type: 'tpl',