期限切れの繰り返し課題が停止中と表示されないバグを修正

This commit is contained in:
2026-02-15 20:51:50 +09:00
parent 45bf048c47
commit 080bd1f8d7

View File

@@ -76,7 +76,10 @@ func (r *RecurringAssignmentRepository) FindDueForGeneration() ([]models.Recurri
} }
} }
if shouldGenerate { if !shouldGenerate {
rec.IsActive = false
r.db.Save(&rec)
} else {
result = append(result, rec) result = append(result, rec)
} }
} }