package com.yeshi.fanli.service.inter.user;
|
|
import java.math.BigDecimal;
|
import java.util.List;
|
|
import com.yeshi.fanli.entity.bus.user.ShamUser;
|
|
/**
|
* 假用户服务
|
*
|
* @author Administrator
|
*
|
*/
|
public interface ShamUserService {
|
|
public void addShamUser(ShamUser shamUser);
|
|
public List<ShamUser> getAll();
|
|
|
public List<ShamUser> findShamUserList(int sum);
|
|
|
public int deleteByPrimaryKey(Long id);
|
|
public int insert(ShamUser record);
|
|
public int insertSelective(ShamUser record);
|
|
public ShamUser selectByPrimaryKey(Long id);
|
|
public int updateByPrimaryKeySelective(ShamUser record);
|
|
public int updateByPrimaryKey(ShamUser record);
|
|
public List<ShamUser> listDistinctPicUrl(long start, int count);
|
|
/**
|
* 领券提示
|
* @param count
|
* @param smallTime
|
* @param largeTime
|
* @return
|
*/
|
public List<ShamUser> listRandCouponUser(int count, int smallTime, int largeTime);
|
|
/**
|
* 分享奖金
|
* @param count
|
*
|
* @param shareMoney
|
* @param small
|
* @param large
|
* @return
|
*/
|
public List<ShamUser> listRandShareUser(int count, BigDecimal shareMoney, int small, int large);
|
|
public int insertBatch(List<ShamUser> list);
|
|
public int updateBatchSelective(List<ShamUser> list);
|
|
/**
|
* 随机一定的用户
|
* @param count
|
* @return
|
*/
|
public List<ShamUser> listRandUser(int count);
|
}
|