|
@@ -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 {
|