Browse Source

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

csx 3 years ago
parent
commit
f56e872e63
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/sg/his_api_controller.go

+ 1 - 1
controllers/sg/his_api_controller.go View File

1910
 			chrgBchno := rand.Intn(100000) + 10000
1910
 			chrgBchno := rand.Intn(100000) + 10000
1911
 			ipt_otp_no := timeFormat + strconv.FormatInt(int64(chrgBchno), 10) + strconv.FormatInt(his.PatientId, 10)
1911
 			ipt_otp_no := timeFormat + strconv.FormatInt(int64(chrgBchno), 10) + strconv.FormatInt(his.PatientId, 10)
1912
 			//count, _ := service.FindHisRegisterRecord(theTime.Unix(), patient.ID, adminInfo.CurrentOrgId)
1912
 			//count, _ := service.FindHisRegisterRecord(theTime.Unix(), patient.ID, adminInfo.CurrentOrgId)
1913
-			department, _ := service.GetDepartMentDetail(patientPrescription.Departments)
1913
+			department, _ := service.GetDepartMentDetail(department)
1914
 			doctor_id := strconv.FormatInt(patientPrescription.DoctorId, 10)
1914
 			doctor_id := strconv.FormatInt(patientPrescription.DoctorId, 10)
1915
 
1915
 
1916
 			IdCardNo := ""
1916
 			IdCardNo := ""