Browse Source

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

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

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

@@ -2037,14 +2037,14 @@ func (c *HisApiController) GetUploadInfo() {
2037 2037
 
2038 2038
 	roles, _ := service.GetAdminUserInfoByID(adminUser.CurrentOrgId, admin_user_id)
2039 2039
 	fmt.Println(his_patient_id)
2040
-	his, _ := service.GetNewHisPatientInfo(adminUser.CurrentOrgId, his_patient_id, recordDateTime)
2040
+	his, _ := service.GetHisPatientInfo(adminUser.CurrentOrgId, id, recordDateTime)
2041 2041
 	timestamp := time.Now().Unix()
2042 2042
 	tempTime := time.Unix(timestamp, 0)
2043 2043
 	timeFormat := tempTime.Format("20060102150405")
2044 2044
 	chrgBchno := rand.Intn(100000) + 10000
2045 2045
 	chrg_bchno := timeFormat + strconv.FormatInt(int64(chrgBchno), 10) + strconv.FormatInt(his.PatientId, 10)
2046 2046
 	miConfig, _ := service.FindMedicalInsuranceInfo(adminUser.CurrentOrgId)
2047
-	patientPrescription, _ := service.FindHisPatientPrescriptionInfo(adminUser.CurrentOrgId, his_patient_id, recordDateTime)
2047
+	patientPrescription, _ := service.FindPatientPrescriptionInfo(adminUser.CurrentOrgId, id, recordDateTime)
2048 2048
 	department, _ := service.GetDepartMentDetail(patientPrescription.Departments)
2049 2049
 	strconv.FormatInt(his.PatientId, 10)
2050 2050