package com.yeshi.makemoney.app.service.inter.team;
|
|
import java.lang.Exception;
|
import javax.annotation.Resource;
|
import java.util.Date;
|
|
import com.yeshi.makemoney.app.exception.team.SpreadImgException;
|
import com.yeshi.makemoney.app.exception.team.UserSpreadImgException;
|
import com.yeshi.makemoney.app.exception.user.UserInfoException;
|
import org.yeshi.utils.bean.BeanUtil;
|
|
import java.util.List;
|
|
import com.yeshi.makemoney.app.entity.team.UserSpreadImg;
|
import com.yeshi.makemoney.app.service.inter.team.UserSpreadImgService;
|
import com.yeshi.makemoney.app.service.query.team.UserSpreadImgQuery;
|
|
|
public interface UserSpreadImgService {
|
|
/**
|
* 获取列表
|
*
|
* @param userSpreadImgQuery
|
* @param page
|
* @param pageSize
|
* @return
|
*/
|
public List<UserSpreadImg> list(UserSpreadImgQuery userSpreadImgQuery, int page, int pageSize);
|
|
/**
|
*
|
*/
|
public long count(UserSpreadImgQuery userSpreadImgQuery);
|
|
/**
|
*
|
*/
|
public UserSpreadImg get(String id);
|
|
/**
|
*
|
*/
|
public void add(UserSpreadImg userSpreadImg) throws Exception;
|
|
/**
|
*
|
*/
|
public void update(UserSpreadImg userSpreadImg);
|
|
/**
|
*
|
*/
|
public void delete(List<String> idList);
|
|
public List<UserSpreadImg> getUserSpreadImgs(Long uid);
|
|
|
/**
|
* @return void
|
* @author hxh
|
* @description 绘制邀请图
|
* @date 11:48 2022/4/9
|
* @param: uid
|
* @param: inviteCode
|
**/
|
public void drawImgs(Long uid, String inviteCode) throws UserInfoException, SpreadImgException, UserSpreadImgException;
|
|
/**
|
* @author hxh
|
* @description 绘制邀请图
|
* @date 14:36 2022/4/9
|
* @param: uid
|
* @return void
|
**/
|
public void drawImgs(Long uid) throws UserInfoException, SpreadImgException, UserSpreadImgException;
|
|
|
}
|