| | |
| | |
|
| | | int insertSelective(UserInfo record);
|
| | |
|
| | | UserInfo selectByPrimaryKey(Long id);
|
| | | UserInfo selectByPrimaryKey(Long id);
|
| | |
|
| | | /**
|
| | | * 查询有效的
|
| | |
| | |
|
| | | // 根据获WXUnionId有效用户
|
| | | UserInfo getEffectiveUserInfoByWXUnionId(@Param("unionId") String unionId);
|
| | | |
| | | //根据微信openid查询
|
| | | UserInfo getEffectiveUserInfoByWXOpenId(@Param("wxOpenId") String wxOpenId);
|
| | |
|
| | | Long getMaxUid();
|
| | |
|
| | |
| | | * @param inviteCode
|
| | | * @return
|
| | | */
|
| | | UserInfo getInfoByPhoneOrInviteCode(@Param("phone") String phone, @Param("inviteCode") String inviteCode);
|
| | | UserInfo getUserInfoByInviteCode(@Param("inviteCode") String inviteCode);
|
| | |
|
| | | // 根据AppId与电话号码获取用户
|
| | | List<UserInfo> listByClosed(@Param("appId") String appId, @Param("phone") String phone);
|
| | |
|
| | | long countAvaiableUser();
|
| | | |
| | |
|
| | | /**
|
| | | * 查询满足自动提现用户
|
| | | * |
| | | * @param start
|
| | | * @param count
|
| | | * @return
|
| | | */
|
| | | |
| | | List<UserInfo> getAutoExtractUser(@Param("start") int start, @Param("count") int count,
|
| | | @Param("money") BigDecimal money, @Param("beganDate") String beganDate, @Param("endDate") String endDate);
|
| | |
|
| | | /**
|
| | | * 根据type检索
|
| | | * @param type
|
| | | * @param start
|
| | | * @param count
|
| | | * @return
|
| | | */
|
| | | List<UserInfo> listByType(@Param("type")int type,@Param("start") long start, @Param("count")int count);
|
| | |
|
| | | long countByType(int type);
|
| | |
|
| | | /**
|
| | | * 查询满足自动提现用户
|
| | |
| | | * @param count
|
| | | * @return
|
| | | */
|
| | | List<UserInfo> getAutoExtractUser(@Param("start") int start, @Param("count") int count, @Param("money") BigDecimal money,
|
| | | @Param("beganDate") String beganDate, @Param("endDate") String endDate);
|
| | | |
| | | |
| | | /**
|
| | | * 查询满足自动提现用户
|
| | | * @param start
|
| | | * @param count
|
| | | * @return
|
| | | */
|
| | | List<UserInfo> getAutoExtractUserTo1212(@Param("start") int start, @Param("count") int count);
|
| | | List<UserInfo> getAutoExtractUserTo1212(@Param("start") int start, @Param("count") int count); |
| | | } |