admin
2019-09-25 28a0efc6ec16f3f82eb8e16e87269300d6744fd4
fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserInfoService.java
@@ -56,39 +56,11 @@
   public long getUserCount();
   public List<UserInfo> getUserList(int index, String key);
   public int getUserCount(String key);
   public Map<String, Integer> getnewUserByDate(int days, Date date);
   public Map<String, Integer> getnewUserByMonth(int months, Date date);
   public Map<String, Integer> getUserTotalByDate(int days, Date date);
   public Map<String, Integer> getUserTotalByMonth(int months, Date date);
   public List<UserInfo> getUserListByUid(long uid);
   public double getFreezeAssets(double min);
   public double getCanAssets(double min);
   public long getRandomShamUser();
   public boolean inviteWXUserInfo(String code, UserInfo inviter);
   public void unBindUserInfo(UserInfo find, int type);
   public void addMoney(UserInfo userInfo, BigDecimal money);
   public List<UserInfo> findFriends(long id, int type);
   public List<InviteUser> getFriendsList(long id, int type, int page, int pageSize);
   public long getFriendsListCount(long id, int type);
   public int findFriendsCount(long id, int type);
   public boolean createUser(UserInfo form, String appid);
@@ -99,7 +71,8 @@
   public BigDecimal getNewPeopleHB(Long id);
   /**
    * 查询用户信息  -- 用户管理列表
    * 查询用户信息 -- 用户管理列表
    *
    * @param start
    * @param count
    * @param key
@@ -110,17 +83,17 @@
    * @param orderMode
    * @return
    */
   public List<UserInfoVO> query(long start, int count, Integer userState, String key, Integer keyType, String userRank,
         Integer days, String startTime, String endTime,Integer orderField, Integer orderMode);
   public List<UserInfoVO> query(long start, int count, Integer userState, String key, Integer keyType,
         String userRank, Integer days, String startTime, String endTime, Integer orderField, Integer orderMode);
   public long queryCount(Integer userState, String key, Integer keyType, String userRank, Integer days, String startTime,
         String endTime);
   public long queryCount(Integer userState, String key, Integer keyType, String userRank, Integer days,
         String startTime, String endTime);
   public double querySumMoney(String key, Integer userType, Integer days, String startTime, String endTime);
   /**
    * 选择性更新
    *
    * @param record
    * @return
    */
@@ -128,6 +101,7 @@
   /**
    * 其强制删除绑定信息
    *
    * @param user
    * @param type
    */
@@ -135,14 +109,15 @@
   /**
    * 根据id查询用户信息
    *
    * @param id
    * @return
    */
   public UserInfo selectByPKey(Long id);
   /**
    * 超过 daysNum  天未登陆的用户
    * 超过 daysNum 天未登陆的用户
    *
    * @param daysNum
    * @param list
    * @return
@@ -151,6 +126,7 @@
   /**
    * 根据电话号码、邀请码获取邀请用户
    *
    * @param phone
    * @param inviteCode
    * @return
@@ -159,6 +135,7 @@
   /**
    * 根据电话号码 获取有效用户
    *
    * @param phone
    * @return
    */
@@ -166,6 +143,7 @@
   /**
    * 获取用户信息
    *
    * @param uid
    * @return
    * @throws UserInfoException
@@ -174,14 +152,15 @@
   /**
    * 根据微信获取有效用户
    *
    * @param unionId
    * @return
    */
   public UserInfo getEffectiveUserInfoByWXUnionId(String unionId);
   /**
    * 获取用户余额
    *
    * @param uid
    * @return
    */
@@ -189,6 +168,7 @@
   /**
    * 更换头像
    *
    * @param file
    * @param uid
    * @throws UserInfoException
@@ -198,10 +178,12 @@
   /**
    * 保存头像
    *
    * @param nickName
    * @param uid
    * @throws UserInfoException
    */
   public void saveUserInfo(String nickName, Long uid) throws UserInfoException;
}