28169 1 vuosi sitten
vanhempi
commit
91913d6f9f
2 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. BIN
      XT_New.exe
  2. 3 1
      controllers/pharmacy_controller.go

BIN
XT_New.exe Näytä tiedosto


+ 3 - 1
controllers/pharmacy_controller.go Näytä tiedosto

337
 	allDoctor, _ := service.GetAllDoctor(orgid, appId)
337
 	allDoctor, _ := service.GetAllDoctor(orgid, appId)
338
 
338
 
339
 	prescriptionListByToDay, _ := service.GetPrescriptionListByToDay(orgid, patient_id, stime)
339
 	prescriptionListByToDay, _ := service.GetPrescriptionListByToDay(orgid, patient_id, stime)
340
+
341
+	diagnose, _ := service.FindAllDiagnose(orgid)
340
 	if err != nil {
342
 	if err != nil {
341
 		utils.ErrorLog(err.Error())
343
 		utils.ErrorLog(err.Error())
342
 		this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeParamWrong)
344
 		this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeParamWrong)
352
 	return_value["adminUserES"] = adminUserES
354
 	return_value["adminUserES"] = adminUserES
353
 	return_value["doctors"] = allDoctor
355
 	return_value["doctors"] = allDoctor
354
 	return_value["prescription"] = prescriptionListByToDay
356
 	return_value["prescription"] = prescriptionListByToDay
355
-
357
+	return_value["diagnose"] = diagnose
356
 	//if is_medicine == 1{发药时间先不展示
358
 	//if is_medicine == 1{发药时间先不展示
357
 	//	return_value["time"] = time
359
 	//	return_value["time"] = time
358
 	//}
360
 	//}