Przeglądaj źródła

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx 4 lat temu
rodzic
commit
8a197032c6
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      controllers/sz/sz_his_api_controller.go

+ 2 - 2
controllers/sz/sz_his_api_controller.go Wyświetl plik

@@ -348,12 +348,12 @@ func (c *SZHisApiController) ReadCard() {
348 348
 	if ret4 == 0 {
349 349
 		patient, _ := service.GetPatientByNumber(id_card_number, adminInfo.CurrentOrgId)
350 350
 		if patient.ID == 0 {
351
-			patient.HealthCareNo = health_card_no
352 351
 			c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeNoPateintException)
353 352
 			return
354 353
 		} else {
355 354
 			c.ServeSuccessJSON(map[string]interface{}{
356
-				"patient": patient,
355
+				"patient":        patient,
356
+				"health_card_no": health_card_no,
357 357
 			})
358 358
 		}
359 359
 	} else {