feat: 添加深度复制功能,优化自动分类逻辑;更新周期账单视图以显示下次执行时间
Some checks failed
Docker Build & Deploy / Build Docker Image (push) Failing after 43s
Docker Build & Deploy / Deploy to Production (push) Has been skipped
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 2s

This commit is contained in:
2026-01-10 18:04:27 +08:00
parent 6a9c879dee
commit f34457a706
4 changed files with 30 additions and 2 deletions

View File

@@ -175,7 +175,14 @@ public class EmailHandleService(
private async Task AutoClassifyAsync(TransactionRecord[] records)
{
await AnalyzeClassifyAsync(records.ToArray());
var clone = records.ToArray().DeepClone();
if(clone?.Any() != true)
{
return;
}
await AnalyzeClassifyAsync(clone);
foreach (var record in records)
{