陈少旭 1年前
父节点
当前提交
9824fdd8bd
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      controllers/sg/his_api_controller.go

+ 6 - 1
controllers/sg/his_api_controller.go 查看文件

@@ -15348,7 +15348,11 @@ func (c *HisApiController) GetPatientInfo() {
15348 15348
 		//	c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeDataException)
15349 15349
 		//	return
15350 15350
 		//}
15351
-
15351
+		for _, item := range res.Output.Iinfo {
15352
+			if item.PsnInsuStas == "2" {
15353
+				item.Insutype = "300"
15354
+			}
15355
+		}
15352 15356
 		if res.Infcode != 0 {
15353 15357
 			c.ServeSuccessJSON(map[string]interface{}{
15354 15358
 				"failed_code": -10,
@@ -15363,6 +15367,7 @@ func (c *HisApiController) GetPatientInfo() {
15363 15367
 
15364 15368
 	}
15365 15369
 }
15370
+
15366 15371
 func (c *HisApiController) PsnPutOnRecord() {
15367 15372
 	record_type, _ := c.GetInt64("type")
15368 15373
 	patient_id, _ := c.GetInt64("patient_id")