Ver código fonte

耗材参数

XMLWAN 4 anos atrás
pai
commit
0ad9301996

+ 0 - 1
controllers/doctors_api_controller.go Ver arquivo

@@ -35,7 +35,6 @@ func (c *DoctorsApiController) ScheduleAdvices() {
35 35
 	patientType, _ := c.GetInt("patient_type")
36 36
 	delivery_way := c.GetString("delivery_way")
37 37
 
38
-	delivery_way := c.GetString("delivery_way")
39 38
 	if adviceType != 1 && adviceType != 3 && adviceType != 2 {
40 39
 		adviceType = 0
41 40
 	}

+ 1 - 1
controllers/his_api_controller.go Ver arquivo

@@ -648,7 +648,7 @@ func (c *HisApiController) CreateHisPatientCaseHistory() {
648 648
 
649 649
 	blood_fat := c.GetString("blood_fat")
650 650
 	bloodfatfloat, _ := strconv.ParseFloat(blood_fat, 64)
651
-	fmt.Println("33333333", bloodfatfloat)
651
+	//fmt.Println("33333333", bloodfatfloat)
652 652
 	blood_sugar := c.GetString("blood_sugar")
653 653
 	bloodsugarfloat, _ := strconv.ParseFloat(blood_sugar, 64)
654 654
 	fmt.Println(bloodsugarfloat)