|
|
|
|
270
|
}
|
270
|
}
|
271
|
|
271
|
|
272
|
func GetAllLisData(org_id int64) (list []*HisLabelPrintInfo, err error) {
|
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
|
return db.Preload("HisPrescription", func(db *gorm.DB) *gorm.DB {
|
274
|
return db.Preload("HisPrescription", func(db *gorm.DB) *gorm.DB {
|
275
|
return db.Preload("HisOrder", func(db *gorm.DB) *gorm.DB {
|
275
|
return db.Preload("HisOrder", func(db *gorm.DB) *gorm.DB {
|
276
|
return db.Preload("XtHisPatient", func(db *gorm.DB) *gorm.DB {
|
276
|
return db.Preload("XtHisPatient", func(db *gorm.DB) *gorm.DB {
|