Browse Source

2024/6/17

28169 3 weeks ago
parent
commit
5e0d9bf28f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      service/his_service.go

+ 1 - 0
service/his_service.go View File

122
 	HisPrescription       []*HisPrescription    `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"prescription"`
122
 	HisPrescription       []*HisPrescription    `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"prescription"`
123
 	VMHisPrescriptionInfo VMHisPrescriptionInfo `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"info"`
123
 	VMHisPrescriptionInfo VMHisPrescriptionInfo `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"info"`
124
 	VMHisOrder            VMHisOrder            `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"order"`
124
 	VMHisOrder            VMHisOrder            `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"order"`
125
+	PatientType           int64                 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
125
 }
126
 }
126
 
127
 
127
 func (Patients) TableName() string {
128
 func (Patients) TableName() string {