|
@@ -92,14 +92,14 @@ func (c *ZuobiaoApiController) GetHisZuoBiaoDetailInfo() {
|
92
|
92
|
} else if is_upload == 2 { //已上传
|
93
|
93
|
prescriptions, _ = service.GetUploadHisZuoBiaoPrescription(adminInfo.CurrentOrgId, patient_id, recordDateTime)
|
94
|
94
|
}
|
95
|
|
- patient, _ := service.GetPatientByID(c.GetAdminUserInfo().CurrentOrgId, patient_id)
|
|
95
|
+ patient, _ := service.GetPatientByIDThree(c.GetAdminUserInfo().CurrentOrgId, patient_id)
|
96
|
96
|
var monthPrescriptions []*models.HisPrescription
|
97
|
97
|
if is_upload == 1 {
|
98
|
98
|
monthPrescriptions, _ = service.GetMonthUnUploadHisZuoBiaoPrescription(adminInfo.CurrentOrgId, patient_id, recordStartTime, recordEndTime)
|
99
|
99
|
} else if is_upload == 2 {
|
100
|
100
|
monthPrescriptions, _ = service.GetMonthUploadHisZuoBiaoPrescription(adminInfo.CurrentOrgId, patient_id, recordStartTime, recordEndTime)
|
101
|
101
|
}
|
102
|
|
- prescription_info, _ := service.GetZuoBiaoPrescriptionInfo(c.GetAdminUserInfo().CurrentOrgId, patient.ID)
|
|
102
|
+ prescription_info, _ := service.GetZuoBiaoPrescriptionInfo(adminInfo.CurrentOrgId, patient.ID)
|
103
|
103
|
|
104
|
104
|
c.ServeSuccessJSON(map[string]interface{}{
|
105
|
105
|
"prescription": prescriptions,
|