Browse Source

合并代码

csx 3 years ago
parent
commit
546fd6f6dd
1 changed files with 0 additions and 7 deletions
  1. 0 7
      controllers/patient_api_controller.go

+ 0 - 7
controllers/patient_api_controller.go View File

@@ -3796,13 +3796,6 @@ func (c *PatientApiController) GetMaxDialysisNo() {
3796 3796
 
3797 3797
 }
3798 3798
 
3799
-func fab(n int) int {
3800
-	if n <= 1 {
3801
-		return 1
3802
-	}
3803
-	return fab(n-1) + fab(n-2)
3804
-}
3805
-
3806 3799
 func GenerateDialysisNoTwo(patients []*models.Patients) string {
3807 3800
 	dialysisNo2 := fmt.Sprintf("%06v", rand.New(rand.NewSource(time.Now().UnixNano())).Int31n(1000000))
3808 3801
 	var tempPatient *models.Patients