Browse Source

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

test_user 1 year ago
parent
commit
13dc6ee09e
1 changed files with 6 additions and 1 deletions
  1. 6 1
      controllers/sg/his_api_controller.go

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

@@ -15375,7 +15375,11 @@ func (c *HisApiController) GetPatientInfo() {
15375 15375
 		//	c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeDataException)
15376 15376
 		//	return
15377 15377
 		//}
15378
-
15378
+		for _, item := range res.Output.Iinfo {
15379
+			if item.PsnInsuStas == "2" {
15380
+				item.Insutype = "300"
15381
+			}
15382
+		}
15379 15383
 		if res.Infcode != 0 {
15380 15384
 			c.ServeSuccessJSON(map[string]interface{}{
15381 15385
 				"failed_code": -10,
@@ -15390,6 +15394,7 @@ func (c *HisApiController) GetPatientInfo() {
15390 15394
 
15391 15395
 	}
15392 15396
 }
15397
+
15393 15398
 func (c *HisApiController) PsnPutOnRecord() {
15394 15399
 	record_type, _ := c.GetInt64("type")
15395 15400
 	patient_id, _ := c.GetInt64("patient_id")