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
 				Departments:            department,
1566
 				Departments:            department,
1567
 				SickType:               sick_type,
1567
 				SickType:               sick_type,
1568
 				Diagnosis:              diagnosis_id,
1568
 				Diagnosis:              diagnosis_id,
1569
+				PType:                  reg_type,
1569
 			}
1570
 			}
1570
 
1571
 
1571
 			timestamp := time.Now().Unix()
1572
 			timestamp := time.Now().Unix()

+ 1 - 0
models/his_models.go View File

781
 	PatientInfo            string  `gorm:"column:patient_info" json:"patient_info" form:"patient_info"`
781
 	PatientInfo            string  `gorm:"column:patient_info" json:"patient_info" form:"patient_info"`
782
 	Diagnosis              int64   `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
782
 	Diagnosis              int64   `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
783
 	SickType               int64   `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
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
 func (VMHisPatient) TableName() string {
787
 func (VMHisPatient) TableName() string {