Browse Source

医保对接

csx 4 years ago
parent
commit
6afdfde976

+ 1 - 1
controllers/his_api_controller.go View File

453
 							var s models.HisDoctorAdviceInfo
453
 							var s models.HisDoctorAdviceInfo
454
 							s.PrescriptionId = prescription.ID
454
 							s.PrescriptionId = prescription.ID
455
 							s.AdviceType = 2
455
 							s.AdviceType = 2
456
-							s.AdviceDoctor = adminInfo.AdminUser.Id
456
+							s.AdviceDoctor = doctor_id
457
 							s.StopState = 2
457
 							s.StopState = 2
458
 							s.ExecutionState = 2
458
 							s.ExecutionState = 2
459
 							s.AdviceDate = recordDateTime
459
 							s.AdviceDate = recordDateTime

+ 1 - 1
controllers/new_mobile_api_controllers/mobile_his_api_controller.go View File

317
 							var s models.HisDoctorAdviceInfo
317
 							var s models.HisDoctorAdviceInfo
318
 							s.PrescriptionId = prescription.ID
318
 							s.PrescriptionId = prescription.ID
319
 							s.AdviceType = 2
319
 							s.AdviceType = 2
320
-							s.AdviceDoctor = adminInfo.AdminUser.Id
320
+							s.AdviceDoctor = doctor_id
321
 							s.StopState = 2
321
 							s.StopState = 2
322
 							s.ExecutionState = 2
322
 							s.ExecutionState = 2
323
 							s.AdviceDate = recordDateTime
323
 							s.AdviceDate = recordDateTime