             guard let grade = viewmodel.model?.grade else {
                 continue
             }
-            let index = 4 - (currentyear - grade)
+            let index = currentyear - grade
             sectionarray[index].datasource.append(viewmodel)
         }
         var i = 0
         for _ in 0..<sectionarray.count{
             sectionarray[i].titleLabel.text = "\(currentyear - i) 级"
             selectIndexArray.append(Array(repeating: 0, count: sectionarray[i].datasource.count))
+            sectionarray[i].numLabel.text = "0/\(sectionarray[i].datasource.count)"
+            selectNum.append(0)
             i += 1
         }
      

        selectIndexArray[indexPath.section][indexPath.row] = 0
        tableview.cellForRow(at: indexPath)?.accessoryType = .none
        sectionarray[indexPath.section].circleBtn.isSelected = false
    }
    
    

}
class FoldSectionView: UIView {
    
    let titleLabel = UILabel()
    
    let numLabel = UILabel()
    
    let circleBtn = UIButton(frame: CGRect(x: UIScreen.main.bounds.width - 36, y: 10, width: 24, height: 24))
    
    var section:Int = 0
    
