Browse Source

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

csx 3 years ago
parent
commit
e49e17cb2e
2 changed files with 2 additions and 0 deletions
  1. 1 0
      controllers/sg/his_api_controller.go
  2. 1 0
      models/his_models.go

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

@@ -1566,6 +1566,7 @@ func (c *HisApiController) GetRegisterInfo() {
1566 1566
 				Departments:            department,
1567 1567
 				SickType:               sick_type,
1568 1568
 				Diagnosis:              diagnosis_id,
1569
+				PType:                  reg_type,
1569 1570
 			}
1570 1571
 
1571 1572
 			timestamp := time.Now().Unix()

+ 1 - 0
models/his_models.go View File

@@ -781,6 +781,7 @@ type VMHisPatient struct {
781 781
 	PatientInfo            string  `gorm:"column:patient_info" json:"patient_info" form:"patient_info"`
782 782
 	Diagnosis              int64   `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
783 783
 	SickType               int64   `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
784
+	PType                  int64   `gorm:"column:p_type" json:"p_type" form:"p_type"`
784 785
 }
785 786
 
786 787
 func (VMHisPatient) TableName() string {