| | |
| | |
|
| | | import org.springframework.web.multipart.MultipartFile;
|
| | |
|
| | | import com.yeshi.fanli.dto.user.UserInviteLevelEnum;
|
| | | import com.yeshi.fanli.entity.bus.user.UserInfo;
|
| | | import com.yeshi.fanli.exception.user.UserInfoException;
|
| | | import com.yeshi.fanli.vo.user.UserInfoVO;
|
| | |
| | | * @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);
|
| | | String userRank, Integer days, String startTime, String endTime, Integer orderField, Integer orderMode,
|
| | | Integer userType);
|
| | |
|
| | | public long queryCount(Integer userState, String key, Integer keyType, String userRank, Integer days,
|
| | | String startTime, String endTime);
|
| | | String startTime, String endTime, Integer userType);
|
| | |
|
| | | public double querySumMoney(String key, Integer userType, Integer days, String startTime, String endTime);
|
| | |
|
| | |
| | | public List<Long> longTimeNoLogin(int daysNum, List<Long> list);
|
| | |
|
| | | /**
|
| | | * 根据电话号码、邀请码获取邀请用户
|
| | | * 根据邀请码获取邀请用户
|
| | | *
|
| | | * @param phone
|
| | | * @param inviteCode
|
| | | * @return
|
| | | */
|
| | | public UserInfo getInfoByPhoneOrInviteCode(String phone, String inviteCode);
|
| | | public UserInfo getUserInfoByInviteCode(String inviteCode);
|
| | |
|
| | | /**
|
| | | * 根据电话号码 获取有效用户
|
| | |
| | | */
|
| | | public void saveUserInfo(String nickName, Long uid) throws UserInfoException;
|
| | |
|
| | | |
| | | /**
|
| | | * 获取可提现用户列表
|
| | | * |
| | | * @param page
|
| | | * @param count
|
| | | */
|
| | | public List<UserInfo> getAutoExtractUser(int page, int count, BigDecimal minSurplus, String beganDate,String endDate);
|
| | | public List<UserInfo> getAutoExtractUser(int page, int count, BigDecimal minSurplus, String beganDate,
|
| | | String endDate);
|
| | |
|
| | | /**
|
| | | * 双12预售开启时,开启对休眠老用户的唤醒工作,在2019.1.1到2019.6.18期间产生过订单,并且2019.6.18号后未再活跃,并且账户余额大于1元,并且绑定了微信的用户有2468人
|
| | | * 根据类型获取
|
| | | * |
| | | * @param type
|
| | | * @param page
|
| | | * @param count
|
| | | * @return
|
| | | */
|
| | | public List<UserInfo> listByType(int type, int page, int count);
|
| | |
|
| | | /**
|
| | | * 根据类型计数
|
| | | * |
| | | * @param type
|
| | | * @return
|
| | | */
|
| | | public long countByType(int type);
|
| | |
|
| | | /**
|
| | | * 双12预售开启时,开启对休眠老用户的唤醒工作,在2019.1.1到2019.6.18期间产生过订单,并且2019.6.18号后未再活跃,
|
| | | * 并且账户余额大于1元,并且绑定了微信的用户有2468人
|
| | | * |
| | | * @param start
|
| | | * @param count
|
| | | * @return
|
| | | */
|
| | | public List<UserInfo> getAutoExtractUserTo1212(int start, int count);
|
| | |
|
| | | /**
|
| | | * 根据用户ID检索
|
| | | * |
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public UserInfo selectAvailableByPrimaryKey(Long uid);
|
| | |
|
| | |
|
| | |
|
| | | }
|