Browse Source

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

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

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

@@ -1123,6 +1123,11 @@ func (c *HisApiController) GetRegisterInfo() {
1123 1123
 			if is310 == 1 {
1124 1124
 				insutype = "310"
1125 1125
 			}
1126
+
1127
+			if len(insutypes) == 0 {
1128
+				insutype = "310"
1129
+			}
1130
+
1126 1131
 			if count == 1 {
1127 1132
 				c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeRegisterRepeatException)
1128 1133
 				return