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

+ 1 - 1
service/bl_service.go View File

@@ -278,7 +278,7 @@ func GetAllLisData(org_id int64) (list []*HisLabelPrintInfo, err error) {
278 278
 				}).Where("status = 1")
279 279
 			}).Where("status = 1")
280 280
 		}).Where("status = 1")
281
-	}).Where("user_org_id = ? AND status = 1", org_id).Find(&list).Error
281
+	}).Where("user_org_id = ? AND status = 1", org_id).Limit(5).Find(&list).Error
282 282
 	return
283 283
 }
284 284