From 2349b3c01a20665fa4ac30e1232700073ae70eb7 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 25 十月 2019 17:11:29 +0800 Subject: [PATCH] 券服务在红包服务中添加懒加载 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/ShamUserService.java | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/ShamUserService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/ShamUserService.java index d13755d..2c0f18a 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/ShamUserService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/ShamUserService.java @@ -18,9 +18,6 @@ public List<ShamUser> getAll(); - public void delete(long id); - - public List<ShamUser> findShamUserList(int sum); @@ -61,4 +58,11 @@ public int insertBatch(List<ShamUser> list); public int updateBatchSelective(List<ShamUser> list); + + /** + * 闅忔満涓�瀹氱殑鐢ㄦ埛 + * @param count + * @return + */ + public List<ShamUser> listRandUser(int count); } -- Gitblit v1.8.0