package com.liquidnet.service.sweet.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liquidnet.service.base.ResponseDto;
import com.liquidnet.service.sweet.entity.SweetCityVote;
import com.liquidnet.service.sweet.param.SweetCityVoteParam;
import com.liquidnet.service.sweet.vo.SweetCItyVoteStatVo;

import java.util.List;

/**
 * <p>
 * 城市投票表 服务类
 * </p>
 *
 * @author jiangxiulong
 * @since 2021-09-15
 */
public interface ISweetCityVoteService extends IService<SweetCityVote> {

    ResponseDto createVote(SweetCityVoteParam param);

    ResponseDto setStatList(Integer type);

    ResponseDto<List<SweetCItyVoteStatVo>> getList(String phone, String unionId, Integer type);
}
