admin
2019-07-11 3824cbcaec6e6c67418d5280a53e9c2fedeef6f9
fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserInfoService.java
@@ -1,9 +1,12 @@
package com.yeshi.fanli.service.inter.user;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.springframework.web.multipart.MultipartFile;
import com.yeshi.fanli.entity.bus.user.InviteUser;
import com.yeshi.fanli.entity.bus.user.UserInfo;
@@ -95,10 +98,9 @@
   public BigDecimal getNewPeopleHB(Long id);
   public BigDecimal getMyHB(Long id);
   /**
    * 查询用户信息  -- 用户管理列表
    * 查询用户信息 -- 用户管理列表
    *
    * @param start
    * @param count
    * @param key
@@ -109,17 +111,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
    */
@@ -127,6 +129,7 @@
   /**
    * 其强制删除绑定信息
    *
    * @param user
    * @param type
    */
@@ -134,14 +137,15 @@
   /**
    * 根据id查询用户信息
    *
    * @param id
    * @return
    */
   public UserInfo selectByPKey(Long id);
   /**
    * 超过 daysNum  天未登陆的用户
    * 超过 daysNum 天未登陆的用户
    *
    * @param daysNum
    * @param list
    * @return
@@ -150,6 +154,7 @@
   /**
    * 根据电话号码、邀请码获取邀请用户
    *
    * @param phone
    * @param inviteCode
    * @return
@@ -158,6 +163,7 @@
   /**
    * 根据电话号码 获取有效用户
    *
    * @param phone
    * @return
    */
@@ -165,6 +171,7 @@
   /**
    * 获取用户信息
    *
    * @param uid
    * @return
    * @throws UserInfoException
@@ -173,9 +180,38 @@
   /**
    * 根据微信获取有效用户
    *
    * @param unionId
    * @return
    */
   public UserInfo getEffectiveUserInfoByWXUnionId(String unionId);
   /**
    * 获取用户余额
    *
    * @param uid
    * @return
    */
   public BigDecimal getBalance(Long uid);
   /**
    * 更换头像
    *
    * @param file
    * @param uid
    * @throws UserInfoException
    * @throws IOException
    */
   public void uploadPortrait(MultipartFile file, Long uid) throws UserInfoException, IOException;
   /**
    * 保存头像
    *
    * @param nickName
    * @param uid
    * @throws UserInfoException
    */
   public void saveUserInfo(String nickName, Long uid) throws UserInfoException;
}