csx 4 years ago
parent
commit
9c9f5fb20f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      models/patient_models.go

+ 3 - 3
models/patient_models.go View File

@@ -1,8 +1,8 @@
1 1
 package models
2 2
 
3 3
 type PatientListForFaceList struct {
4
-	ID          int64  `gorm:"column:id" json:"id" form:"id"`
5
-	UpdatedTime int64  `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
4
+	ID          int64 `gorm:"column:id" json:"id" form:"id"`
5
+	UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
6 6
 }
7 7
 
8 8
 func (PatientListForFaceList) TableName() string {
@@ -145,7 +145,7 @@ type InfectiousDiseases struct {
145 145
 }
146 146
 
147 147
 func (InfectiousDiseases) TableName() string {
148
-	return " xt_patients_infectious_diseases"
148
+	return "xt_patients_infectious_diseases"
149 149
 }
150 150
 
151 151
 type DialysisPrescription struct {