package com.ichangzuo.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ichangzuo.common.base.BasePageQuery;
import com.ichangzuo.system.model.entity.Integral;
import com.ichangzuo.system.model.query.IntegralPageQuery;
import com.ichangzuo.system.model.vo.IntegralAdminPageVO;
import com.ichangzuo.system.model.vo.IntegralUserPageVO;
import com.ichangzuo.system.model.vo.TakeOrderPageVO;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface IntegralMapper extends BaseMapper<Integral> {
    Page<IntegralAdminPageVO> listPagedAdmin(Page<IntegralAdminPageVO> page, IntegralPageQuery queryParams);
    Page<IntegralUserPageVO> listPagedUser(Page<IntegralUserPageVO> page, IntegralPageQuery queryParams);
}
