Browse Source

2024/6/17

28169 1 month 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,6 +122,7 @@ type Patients struct {
122 122
 	HisPrescription       []*HisPrescription    `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"prescription"`
123 123
 	VMHisPrescriptionInfo VMHisPrescriptionInfo `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"info"`
124 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 128
 func (Patients) TableName() string {