csx 2 years ago
parent
commit
2b65b66d8a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/bl_service.go

+ 1 - 1
service/bl_service.go View File

@@ -270,7 +270,7 @@ func GetLisDataById(org_id int64, last_id int64) (list []*HisLabelPrintInfo, err
270 270
 }
271 271
 
272 272
 func GetAllLisData(org_id int64) (list []*HisLabelPrintInfo, err error) {
273
-	err = readDb.Model(&HisLabelPrintInfo{}).Preload("Patient", "stauts = 1").Preload("HisPrescriptionProject", func(db *gorm.DB) *gorm.DB {
273
+	err = readDb.Model(&HisLabelPrintInfo{}).Preload("Patient", "status = 1").Preload("HisPrescriptionProject", func(db *gorm.DB) *gorm.DB {
274 274
 		return db.Preload("HisPrescription", func(db *gorm.DB) *gorm.DB {
275 275
 			return db.Preload("HisOrder", func(db *gorm.DB) *gorm.DB {
276 276
 				return db.Preload("XtHisPatient", func(db *gorm.DB) *gorm.DB {