Sfoglia il codice sorgente

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

test_user 1 anno fa
parent
commit
c63fa7b712
1 ha cambiato i file con 11 aggiunte e 11 eliminazioni
  1. 11 11
      controllers/sg/his_api_controller.go

+ 11 - 11
controllers/sg/his_api_controller.go Vedi File

@@ -9311,19 +9311,19 @@ func (c *HisApiController) GetRegisterInfo() {
9311 9311
 
9312 9312
 			var result string
9313 9313
 			var requestLog string
9314
-			if miConfig.UserOrgId == 10138 {
9315
-				if id_card_type != 4 || id_card_type != 1 {
9316
-					var insa string
9317
-					if len(patient.InsuplcAdmdvs) > 0 {
9318
-						insa = patient.InsuplcAdmdvs
9319
-					} else {
9320
-						insa = miConfig.InsuplcAdmdvs
9321
-					}
9322
-					//psn_info, _ := service.GetPsnByPatientId(id)
9323
-					//result, requestLog = service.Gdyb1101ForEleCert(miConfig.OrgName, roles.UserName, miConfig.Code, miConfig.InsuplcAdmdvs, miConfig.MdtrtareaAdmvs, miConfig.SecretKey, psn_info.VerifyNumber)
9324
-					result, requestLog = service.Gdyb1101D(patient.IdCardNo, miConfig.OrgName, roles.UserName, miConfig.Code, insa, miConfig.MdtrtareaAdmvs, miConfig.SecretKey, id_card_type, "", strconv.FormatInt(certificates, 10), name, record_time)
9314
+			//if miConfig.UserOrgId == 10138 {
9315
+			if id_card_type != 4 || id_card_type != 1 {
9316
+				var insa string
9317
+				if len(patient.InsuplcAdmdvs) > 0 {
9318
+					insa = patient.InsuplcAdmdvs
9319
+				} else {
9320
+					insa = miConfig.InsuplcAdmdvs
9325 9321
 				}
9322
+				//psn_info, _ := service.GetPsnByPatientId(id)
9323
+				//result, requestLog = service.Gdyb1101ForEleCert(miConfig.OrgName, roles.UserName, miConfig.Code, miConfig.InsuplcAdmdvs, miConfig.MdtrtareaAdmvs, miConfig.SecretKey, psn_info.VerifyNumber)
9324
+				result, requestLog = service.Gdyb1101D(patient.IdCardNo, miConfig.OrgName, roles.UserName, miConfig.Code, insa, miConfig.MdtrtareaAdmvs, miConfig.SecretKey, id_card_type, "", strconv.FormatInt(certificates, 10), name, record_time)
9326 9325
 			}
9326
+			//}
9327 9327
 			//else {
9328 9328
 			//	var insa string
9329 9329
 			//	if len(patient.InsuplcAdmdvs) > 0 {