package org.dromara.work.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.work.domain.TpWechat;
import org.dromara.work.domain.bo.OrderRankingBo;
import org.dromara.work.domain.bo.TpWechatBo;
import org.dromara.work.domain.vo.TpWechatVo;
import org.dromara.work.domain.vo.WxNumDayListVo;

import java.util.List;

/**
 * 基本信息Mapper接口
 *
 * @author Maosw
 * @date 2024-08-12
 */
public interface TpWechatMapper extends BaseMapperPlus<TpWechat, TpWechatVo> {

    IPage<TpWechatVo> selectVoPageList(@Param("page") IPage page,@Param("bo") TpWechatBo bo);

    List<TpWechatVo> selectVoList(@Param("bo") TpWechatBo bo);

    List<WxNumDayListVo> wxDayList(@Param("bo") OrderRankingBo bo, @Param("wxIds") List<Long> wxIds);

    List<WxNumDayListVo> wxMonthList(@Param("bo") OrderRankingBo bo, @Param("wxIds") List<Long> wxIds);

    List<TpWechatVo> selectVoListExport(@Param("bo") TpWechatBo bo);
}
