Browse Source

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

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

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

86
 	//patient, _ := service.GetPatientByID(c.GetAdminUserInfo().CurrentOrgId, id)
86
 	//patient, _ := service.GetPatientByID(c.GetAdminUserInfo().CurrentOrgId, id)
87
 	role, _ := service.GetAdminUserInfoByID(adminUser.CurrentOrgId, admin_user_id)
87
 	role, _ := service.GetAdminUserInfoByID(adminUser.CurrentOrgId, admin_user_id)
88
 	psn_record, _ := service.GetPsnNCDSRecordById(id)
88
 	psn_record, _ := service.GetPsnNCDSRecordById(id)
89
-
90
-	if psn_record.ID == 0 {
91
-		c.ServeFailJSONWithSGJErrorCode(enums.ErrorPsnRecordNoExistWrong)
92
-		return
93
-	}
89
+	//
90
+	//if psn_record.ID == 0 {
91
+	//	c.ServeFailJSONWithSGJErrorCode(enums.ErrorPsnRecordNoExistWrong)
92
+	//	return
93
+	//}
94
 
94
 
95
 	var res Result5301
95
 	var res Result5301
96
 	var res10265 Result5301For10265
96
 	var res10265 Result5301For10265